EnglishFrenchSpanish

Ad


OnWorks favicon

lsdistcc - Online in the Cloud

Run lsdistcc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lsdistcc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


lsdistcc - simple distcc server discovery

SYNOPSIS


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.

Hosts are considered good servers based solely on whether their name fits the format and
whether they are listening on the right port (and optionally whether they respond when you
send them a compile job).

Scans for hosts named according to FORMAT (default is "distcc%d"; see printf(3)) and
starting from 1, so hosts such as distcc1, distcc2, and so on. Stops after 7 seconds or
the first host name that does not resolve. Prints the names of all such servers listening
on distcc's port.

If a list of host names is given in the command line, lsdistcc will only check those
hosts.

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

Scan for a compiler named gcc-4.6 on the servers hosta, somehost, hostx, and hosty:

$ lsdistcc -pgcc-4.6 hosta somehost hostx hosty

To use the program in a build script, add the lines:

DISTCC_HOSTS=`lsdistcc`
export DISTCC_HOSTS

before the line that invokes make. Or, in a Makefile, add the line:

export DISTCC_HOSTS = $(shell lsdistcc)

EXIT STATUS


The exit status is 0 if any servers were found, and 1 otherwise.

Uses 'for i=1... sprintf(format, i)' to construct names of servers, stops after 7 seconds
or at second server that doesn't resolve, prints the names of all such servers listening
on distcc's port. Default format is distcc%d.

Use lsdistcc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad