Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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
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 pondering the Monastery: (8)
As of 2014-12-27 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls