is not the best tool to use to check network response time
, as not all hosts are configured to respond to ping. For security reasons
, some hosts disable
ping response. How do you check response time if no ping response
is the answer
-- nmap -sP <host>
nmap -sP www.google.com
Starting Nmap 7.60 ( https://nmap.org ) at 2019-03-06 18:47 AEDT
Nmap scan report for www.google.com (188.8.131.52)
Host is up (0.0093s latency).
Other addresses for www.google.com (not scanned): 2404:6800:4006:805::2004
rDNS record for 184.108.40.206: syd15s06-in-f4.1e100.net
Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
about ping alternative
. When there is a ping response.
ping -c 4 www.google.com
PING www.google.com (220.127.116.11) 56(84) bytes of data.
64 bytes from www.google.com (18.104.22.168): icmp_seq=1 ttl=56 time=9.20 ms
64 bytes from www.google.com (22.214.171.124): icmp_seq=2 ttl=56 time=9.15 ms
64 bytes from www.google.com (126.96.36.199): icmp_seq=3 ttl=56 time=10.0 ms
64 bytes from www.google.com (188.8.131.52): icmp_seq=4 ttl=56 time=10.6 ms