countryboy
New Member
Hi All,
I've been googling all day and I can't really seem to find what I am looking for.
I am wanting a ping command that will display the time, and if the ping was successful or failed.
Something like the following
[Wed Jul 31 02:01:27 EDT 2019] 64 bytes from 76.234.111.182: icmp_seq=1 ttl=53 time=53.2 ms
[Wed Jul 31 02:01:28 EDT 2019] no answer yet for icmp_seq=2
[Wed Jul 31 02:01:29 EDT 2019] 64 bytes from 76.234.111.182: icmp_seq=3 ttl=53 time=56.4 ms
[Wed Jul 31 02:01:30 EDT 2019] no answer yet for icmp_seq=4
[Wed Jul 31 02:01:31 EDT 2019] 64 bytes from 76.234.111.182: icmp_seq=5 ttl=53 time=56.8 ms
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 3 received, 40% packet loss
I don't have access to my linux machine yet, but if someone could give me a starting point on doing something like this, it would be great!
I've been googling all day and I can't really seem to find what I am looking for.
I am wanting a ping command that will display the time, and if the ping was successful or failed.
Something like the following
[Wed Jul 31 02:01:27 EDT 2019] 64 bytes from 76.234.111.182: icmp_seq=1 ttl=53 time=53.2 ms
[Wed Jul 31 02:01:28 EDT 2019] no answer yet for icmp_seq=2
[Wed Jul 31 02:01:29 EDT 2019] 64 bytes from 76.234.111.182: icmp_seq=3 ttl=53 time=56.4 ms
[Wed Jul 31 02:01:30 EDT 2019] no answer yet for icmp_seq=4
[Wed Jul 31 02:01:31 EDT 2019] 64 bytes from 76.234.111.182: icmp_seq=5 ttl=53 time=56.8 ms
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 3 received, 40% packet loss
I don't have access to my linux machine yet, but if someone could give me a starting point on doing something like this, it would be great!