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:
to something likeif ($ping_out !~ /is alive/){ print "$_ isn't pinging\n"; }
if ($ping_out !~ /bytes from/){ print "$_ isn't pinging\n"; }
|
---|
In Section
Seekers of Perl Wisdom