hi,
I want the result just date,time,%loss, and average. I stored the results of ping test in text files. How can I grep all of them and keep the result in another file ?
this is example:
Mon 04/03/2006
12:00 AM
Pinging 01.123.213.36 with 32 bytes of data:
Reply from 01.123.213.36: bytes=32 time=30ms TTL=252
Reply from 01.123.213.36: bytes=32 time=26ms TTL=252
Reply from 01.123.213.36: bytes=32 time=21ms TTL=252
Reply from 01.123.213.36: bytes=32 time=16ms TTL=252
Reply from 01.123.213.36: bytes=32 time=38ms TTL=252
Reply from 01.123.213.36: bytes=32 time=37ms TTL=252
Reply from 01.123.213.36: bytes=32 time=18ms TTL=252
Reply from 01.123.213.36: bytes=32 time=29ms TTL=252
Reply from 01.123.213.36: bytes=32 time=24ms TTL=252
Reply from 01.123.213.36: bytes=32 time=18ms TTL=252
Ping statistics for 01.123.213.36:
Packets: Sent = 10, Received = 10, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 16ms, Maximum = 38ms, Average = 25ms
thanks!