Section: CSLib Utilities (1)
Updated: April 03, 2002
Return to Main Contents
isup - Find out if a machine is up by trying a TCP/IP connection
host [ port ]
tries to create a TCP/IP connection to host (optionally on port
port, default is TCP 7, i.e. echo). If the machine is up (i.e.
the connection is accepted, or refused), then zero (success) is returned.
A non-zero error code is returned if the connection fails.
was written by Alan Ford.
- SEE ALSO