Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Net::Ping output

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


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

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


Comment on Re^2: Net::Ping output
Re^3: Net::Ping output
by vinoth.ree (Prior) on Aug 19, 2013 at 06:06 UTC

    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

        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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2015-07-06 04:58 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 (70 votes), past polls