Jump to content

Computer Networks/Ping/Sweep/fping

From Wikiversity
(Redirected from Fping)

Basic usage

[edit | edit source]
  • Ping a machine:
fping 8.8.8.8
8.8.8.8 is alive
  • Sending ping packets in a loop (-l)
fping -l 8.8.8.8
8.8.8.8 : [0], 84 bytes, 19.9 ms (19.9 avg, 0% loss)
8.8.8.8 : [1], 84 bytes, 17.1 ms (18.5 avg, 0% loss)
8.8.8.8 : [2], 84 bytes, 15.5 ms (17.5 avg, 0% loss)
8.8.8.8 : [3], 84 bytes, 19.1 ms (17.9 avg, 0% loss)
8.8.8.8 : [4], 84 bytes, 9.87 ms (16.3 avg, 0% loss)
^C
8.8.8.8 : xmt/rcv/%loss = 5/5/0%, min/avg/max = 9.87/16.3/19.9
  • Send 1 packet with a 50 milliseconds timeout
fping -c 1 8.8.8.8 -t 50
8.8.8.8 : [0], 84 bytes, 42.6 ms (42.6 avg, 0% loss)

8.8.8.8 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 42.6/42.6/42.6

See also

[edit | edit source]