Make sure that "IP address" isn't ignoring the pings though. For example, if it's a desktop running a firewall it might stop responding and screw up your results.
You know its intermittant so why are you bothering to ping it? What are you trying to acheive? If I was you I'd loop say 20 pings (ping -n 20 ip) and put a loop in to echo out the time and date. Atleast then when (if) the ping drops you have a rough time slot. With your method if ping does drop, how will you know when?
I'd also opt to put in an increased timeout just to be safe.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.