Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Net::Ping output

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


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

Yes, You are trying to ping particular host right ?


All is well


Comment on Re^3: Net::Ping output
Re^4: Net::Ping output
by gaurav (Acolyte) on Aug 19, 2013 at 06:11 UTC

    Yes,Vinoth ..Thanks again.we have to ping particular host and gather the info like RTT(max,min,avg), packet loss etc

      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

        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://1049973]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-09-16 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (33 votes), past polls