Ping statistics
Posted: Fri Jan 17, 2014 8:11 am
Hello. I need a script that will be ping remote host and write information into log file.
For example:
I define IP address and ping count.
And script should write in log.txt something like this:
For example:
I define IP address and ping count.
And script should write in log.txt something like this:
Thanks for help and sorry for bad english.Jan 17 05:00:00 sent=555 received=545 packet-loss=0% min-rtt=49ms avg-rtt=52ms max-rtt=54ms