Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^5: Net::Ping output

by vinoth.ree (Parson)
on Aug 19, 2013 at 06:25 UTC ( #1049978=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Net::Ping output
in thread Net::Ping output

Thats what i am also saying, use $var = `ping -c 5 hostip` like this so $var will hold the ping command output use regex on that variable get whatever you want.


All is well


Comment on Re^5: Net::Ping output
Download Code
Re^6: Net::Ping output
by gaurav (Acolyte) on Aug 19, 2013 at 06:34 UTC

    yes I understood,just want to confirms it that we have to open a separate process , we can't use Net::Ping package to get the desired output

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049978]
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 2014-12-29 05:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (184 votes), past polls