Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Ping sweep with reporting

by StarkRavingCalm (Sexton)
on May 15, 2007 at 15:38 UTC ( #615569=note: print w/ replies, xml ) Need Help??


in reply to Ping sweep with reporting

That worked. Changing to "bytes from" and also changing to /bin/ping. I am not getting any output though.


Comment on Re: Ping sweep with reporting
Replies are listed 'Best First'.
Re^2: Ping sweep with reporting
by cengineer (Pilgrim) on May 15, 2007 at 15:49 UTC
    Try this:
    if ($ping_out !~ /bytes from/) { print "$_ isn't pinging\n"; } else { print "$_ is up\n"; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-09-04 14:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (139 votes), past polls