oping

Langue: en

Version: 2009-12-20 (fedora - 01/12/10)

Section: 8 (Commandes administrateur)

NAME

oping - send ICMP ECHO_REQUEST to network hosts

SYNOPSIS

oping [-4 | -6] [-c count] [-i interval] host [host [host ...]]

oping [-4 | -6] [-c count] [-i interval] -f filename

DESCRIPTION

oping uses ICMPv4 or ICMPv6 ECHO_REQUEST packets to measure a hosts reachability and the network latency. In contrast to the original ping(8) utility oping can send ICMP packets to multiple hosts in parallel and wait for all ECHO_RESPONSE packets to arrive. In contrast to the fping utility (URL is listed in ``SEE ALSO'') oping can use both, IPv4 and IPv6 transparently and side by side.

OPTIONS

-4
Force the use of IPv4.
-6
Force the use of IPv6.
-c count
Send (and receive) count ICMP packets, then stop and exit.
-i interval
Send one ICMP packet (per host) each interval seconds. This can be a floating-point number to specify sub-second precision.
-t ttl
Set the IP Time to Live to ttl. This must be a number between (and including) 1 and 255. If omitted, the value 64 is used.
-I address
Set the source address to use. You may either specify an IP number or a hostname. You cannot pass the interface name, as you can with GNU's ping(8) - use the -D option for that purpose.
-D interface name
Set the outgoing network device to use.
-f filename
Instead of specifying hostnames on the command line, read them from filename. If filename is -, read from "STDIN".

If the real user ID (as returned by getuid(2)) and the effective user ID (as returned by geteuid(2)) differ, the only argument allowed for this option is ``-'' (i. e. standard input). This is meant to avoid security issues when oping is installed with the SUID-bit.

SEE ALSO

ping(8), <http://www.fping.com/>, liboping(3)

AUTHOR

liboping is written by Florian octo Forster <octo at verplant.org>. It's homepage can be found at <http://verplant.org/liboping/>.

(c) 2005-2009 by Florian octo Forster.