...
Code Block |
---|
Usage: ping-vs-tcp.pl [opts]
Opts:
-v print this USAGE information
-D debug_level (default=0)
-p protocol (6 or '') (default '')
-c number of pings or npings (default 10)
Function:
Ping the host provided in %NODE_DETAILS
For each host it gets the IP address either from NODE_DETAILS (IPv4)
or using the dig command (IPv6).
it then pings and npings the host with 10 probes and gathers the min, average, maximum
RTTs and losses and reports them to STDOUT, together with a time stamp and host information
such as name, IP address, country, region etc.
Input:
It gets information on the PingER hosts from %NODE_DETAILS using:
require '/afs/slac/package/pinger/nodes.cf';
Examples:
ping-vs-tcp.pl
ping-vs-tcp.pl -f top-uni.txt
ping-vs-tcp.pl -p 6
ping-vs-tcp.pl -v -D 1
|
...