C:\>copy con ping-mon.bat @echo off :REPEAT ECHO ====================================================================== ECHO %DATE% %TIME% ping 8.8.8.8 -n 1 -w 1000 | findstr /b Re[pq] PING 1.1.1.1 -n 1 -w 500 > NUL ECHO. GOTO :REPEAT ^Z 1 file(s) copied. C:\> C:\>ping-mon > ping-results.txt ^Cy C:\> C:\>type ping-results.txt ====================================================================== Sat 11/06/2011 14:40:48.10 Reply from 8.8.8.8: bytes=32 time=54ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:49.00 Reply from 8.8.8.8: bytes=32 time=30ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:50.00 Reply from 8.8.8.8: bytes=32 time=23ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:51.00 Reply from 8.8.8.8: bytes=32 time=28ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:52.00 Reply from 8.8.8.8: bytes=32 time=28ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:53.00 Reply from 8.8.8.8: bytes=32 time=25ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:54.00 Reply from 8.8.8.8: bytes=32 time=52ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:55.00 Reply from 8.8.8.8: bytes=32 time=33ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:56.00 Reply from 8.8.8.8: bytes=32 time=49ms TTL=56 ====================================================================== Sat 11/06/2011 14:40:57.00 Reply from 8.8.8.8: bytes=32 time=24ms TTL=56 Terminate batch job (Y/N)? C:\>
Friday, June 10, 2011
The Inexpensive Ping Monitor
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment