table of contents
other versions
- wheezy 3.1-5
- jessie 3.1-6.1
- testing 3.1-6.2+b1
- unstable 3.1-6.2+b1
- experimental 3.2~rc1-2
lsdistcc(1) | General Commands Manual | lsdistcc(1) |
NAME¶
lsdistcc - simple distcc server discoverySYNOPSIS¶
lsdistcc [ OPTIONS] [FORMAT] lsdistcc [ OPTIONS] host1 ...DESCRIPTION¶
lsdistcc autodetects listening distcc servers either by looking in DNS for hosts named according to a given FORMAT, or by checking the host names given on the command line.OPTIONS¶
- --help
- Displays summary instructions
- -l
- Output latency in milliseconds after each hostname (not
including DNS latency)
- -n
- Print IP address rather than name
- -x
- Append ,down to down hosts in host list
- -tTIMEOUT
- Set number of seconds to stop searching after [7]
- -hHTIMEOUT
- Set number of milliseconds before retrying gethostbyname
[500]
- -cCTIMEOUT
- Set number of milliseconds before giving up on connect
[900] (0 to inhibit connect)
- -kKTIMEOUT
- Set number of milliseconds before giving up on compile
[1500] (0 to inhibit compile)
- -mBITS
- Set number of bits of address that must match first host
found [0]
- -oOVERLAP
- Set number of extra DNS requests to send [1]
- -gDNSGAP
- Set number of missing DNS entries to tolerate [0]
- -rPORT
- Port to connect to [3632]
- -PPROTOCOL
- Protocol version to use (1-3) [1]
- -pCOMPILER
- Name of compiler to use [none]
- -d
- Append DNS domain name to format
- -v
- Verbose
EXAMPLES¶
Scan for servers named distcc1, distcc2, ... that provide a compiler named gcc-4.6 and include their latencies in the output:$ lsdistcc -l -pgcc-4.6
$ lsdistcc -pgcc-4.6 hosta somehost hostx
hosty
DISTCC_HOSTS=`lsdistcc`
export DISTCC_HOSTS
export DISTCC_HOSTS = $(shell lsdistcc)
EXIT STATUS¶
The exit status is 0 if any servers were found, and 1 otherwise.SEE ALSO¶
distcc(1), distccd(1), printf(3)AUTHOR¶
lsdistcc was written by Dan Kegel, Dongmin Zhang, and Manos Renieris.1 May 2012 |