Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^4: Net::Ping output

by gaurav (Acolyte)
on Aug 19, 2013 at 06:11 UTC ( #1049974=note: print w/ replies, xml ) Need Help??


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

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


Comment on Re^4: Net::Ping output
Replies are listed 'Best First'.
Re^5: Net::Ping output
by vinoth.ree (Prior) on Aug 19, 2013 at 06:25 UTC

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (15)
As of 2015-07-31 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls