Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Ping sweep with reporting

by cengineer (Pilgrim)
on May 15, 2007 at 14:54 UTC ( #615562=note: print w/replies, xml ) Need Help??


in reply to Re: Ping sweep with reporting
in thread Ping sweep with reporting

Depending on the output from your ping program (/usr/sbin/ping), you may have to adjust the line:
if ($ping_out !~ /is alive/){ print "$_ isn't pinging\n"; }
to something like
if ($ping_out !~ /bytes from/){ print "$_ isn't pinging\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://615562]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-11-29 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?