in reply to Net::Ping output
Do you need help in making a basic pinging loop, or calculating minimum, maximum, average, standard deviation? Or finding the host's reverse DNS?# High precision syntax (requires Time::HiRes) $p = Net::Ping->new(); $p->hires(); ($ret, $duration, $ip) = $p->ping($host, 5.5); printf("$host [ip: $ip] is alive (packet return time: %.2f ms)\n", + 1000 * $duration) if $ret; $p->close();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::Ping output
by gaurav (Sexton) on Aug 20, 2013 at 04:18 UTC | |
by Anonymous Monk on Aug 20, 2013 at 08:44 UTC | |
by gaurav (Sexton) on Aug 20, 2013 at 09:39 UTC | |
by Anonymous Monk on Aug 20, 2013 at 11:27 UTC | |
by gaurav (Sexton) on Aug 20, 2013 at 14:32 UTC | |
| |
by Anonymous Monk on Aug 22, 2013 at 06:43 UTC |