10-13-2018 05:23 AM
Hello everyone,
i was wondering if there is a method to have a verbose output of the ping with the timestamp related.
As you can see, i mean an output like this:
14:35:43 2018-4-24 DST Reply from 8.8.8.8: bytes=56 Sequence=1 ttl=54 time=20 ms
14:35:44 2018-4-24 DST Reply from 8.8.8.8: bytes=56 Sequence=2 ttl=54 time=22 ms
14:35:44 2018-4-24 DST Reply from 8.8.8.8: bytes=56 Sequence=3 ttl=54 time=19 ms
14:35:45 2018-4-24 DST Reply from 8.8.8.8: bytes=56 Sequence=4 ttl=54 time=20 ms
14:35:45 2018-4-24 DST Reply from 8.8.8.8: bytes=56 Sequence=5 ttl=54 time=20 ms
Trying to search in the extend command filed of the ping options, i found this:
Loose, Strict, Record, Timestamp, Verbose[none]: timestamp
So i compiled the information like this:
ping
Protocol [ip]:
Target IP address: 8.8.8.8
Repeat count [5]: 1000
Datagram size [100]: 1400
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface:
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]: timestamp
Number of timestamps [ 9 ]:
Loose, Strict, Record, Timestamp, Verbose[TV]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 1000, 1400-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet has IP options: Total option bytes= 40, padded length=40
Timestamp: Type 0. Overflows: 0 length 40, ptr 5
>>Current pointer<<
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Time= 02:00:00.000 summertime (00000000)
Request 0 timed out
Request 1 timed out
Request 2 timed out
Request 3 timed out
Request 4 timed out
Request 5 timed out
Request 6 timed out
Request 7 timed out
Request 8 timed out
Request 9 timed out
Request 10 timed out
The output is not what i wanted.
I don't know what to insert as value Number of timestamps. I left it as the standard (9) but the result is strange. Moreover the ping failed.
Can anyone help me?
Thank you so much for the support.
Bye
Lorenzo
Solved! Go to Solution.
10-13-2018 08:25 AM
10-13-2018 06:53 AM
10-13-2018 08:17 AM
10-13-2018 08:25 AM
10-13-2018 08:39 AM
10-13-2018 10:20 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide