is_up
Package: WA2L/edrc 1.5.57
Section: Library Commands (3)
Updated: 03 February 2009
Index
Return to Main Contents
 
NAME
is_up - test if a host is up
 
SYNOPSIS
edrc/lib/is_up
-h
is_up host
 
AVAILABILITY
WA2L/edrc
 
DESCRIPTION
Test if a host is up by pinging it or by connecting to alternate
ports on the system.
The advantage of using
is_up
instead of
ping(8)
and
ping6(8)
is, that this command has identical usage on different
operating systems.
When 
ping
(ICMP echo) is not allowed/enabled to test the peer's availability
is_up
tries to connect to the ports 22 and 513-514.
 
OPTIONS
- -h
 - 
print usage message.
 - host
 - 
name or IP address of host to test.
 
 
ENVIRONMENT
-
 
EXIT STATUS
- 0
 - 
host reached.
 - 1
 - 
host not reached.
 - 2
 - 
operating system not supported. See
osid(3)
if you get this error.
 - 4
 - 
usage message printed.
 
 
FILES
-
 
EXAMPLES
-
 
SEE ALSO
edrcintro(1),
nc(3),
ping(8),
ping6(8),
portscan(3),
rsh(1),
ssh(1)
 
NOTES
-
 
BUGS
-
 
AUTHOR
is_up was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net . 
 
COPYRIGHT
Copyright © 2009
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:53:17 GMT, August 28, 2024