1.

Solve : How do I capture the timestamp?

Answer»

Dear all,

I'm WONDERING is there's anyway for me to capture the command ping xxx.xxx.xxx.xxx -t and write the RESULTS to a log file with the timestamp on it?

I'm trying to ping to a offsite server and we encounter occasion line-drop. We need to find out the exact timing as to when and what time did the line dropped.

Thanks to all in advance if you can advise on this.Is this a homework exercise?
Why not just thing simple?
USING ping -t on the internet is a poor practice. The server may kick you off for too much pinging.

Code: [Select]time /T >testing
ping geek9pm.com >testing
type testing
Also the testing file will have time of its creation.

If you need to know when server goes out of SERVE for a commercial reason, like maybe it is your HOST, there are independent firms that will do that for you.



Discussion

No Comment Found