Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Net::Ping output

by vinoth.ree (Prior)
on Aug 19, 2013 at 05:22 UTC ( #1049969=note: print w/ replies, xml ) Need Help??


in reply to Net::Ping output

Hi gaurav

To get the same output execute the `ping` command with ``(backtick) or qx() and capture the output use regex and parse whatever you want.

use ping -c option to quit the ping command automatically, not with control-C


All is well


Comment on Re: Net::Ping output
Download Code
Re^2: Net::Ping output
by gaurav (Acolyte) on Aug 19, 2013 at 05:45 UTC

    Hi , Thanks for your reply,but if I am not wrong,are you talking about system ping command ?

      Yes, You are trying to ping particular host right ?


      All is well

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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2015-07-06 19:27 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 (81 votes), past polls