Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Pinging an ip range

by tstock (Curate)
on Jan 25, 2003 at 05:30 UTC ( #229793=note: print w/ replies, xml ) Need Help??


in reply to Pinging an ip range

nmap -sP 10.0.0.1-10

tstock


Comment on Re: Pinging an ip range
Re: Re: Pinging an ip range
by staunch (Pilgrim) on Jan 25, 2003 at 09:39 UTC
    If you do decide to use nmap's output, check out its spiffy XML output:
    use XML::Simple qw(XMLin); use Data::Dumper; my($xml) = XMLin(scalar(`nmap -oX - -sP 10.0.0.0-50`)); print(Dumper(\$xml));
    Staunch

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (17)
As of 2015-06-03 20:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (138 votes), past polls