Difference between revisions of "Fping"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>fping</code> send [[ICMP[[ ECHO_REQUEST packets to network hosts
+
{{lc}}<code>fping</code> ([https://fping.org/fping.1.html man]) send [[ICMP]] ECHO_REQUEST packets to network hosts
 +
 
 +
[[brew install fping]]
  
*Man: https://fping.org/fping.1.html
 
  
  
Line 21: Line 22:
 
  8.8.8.8 : xmt/rcv/%loss = 5/5/0%, min/avg/max = 9.87/16.3/19.9
 
  8.8.8.8 : xmt/rcv/%loss = 5/5/0%, min/avg/max = 9.87/16.3/19.9
  
fping -l 8.8.8.8 1.1.1.1
+
* <code>fping -l 8.8.8.8 1.1.1.1</code>
 
+
* <code>fping -D -l 8.8.8.8 1.1.1.1</code>
 
 
fping -D -l 8.8.8.8 1.1.1.1
 
  
  
Line 40: Line 39:
  
 
== See also ==
 
== See also ==
 +
* {{fping}}
 
* {{ping}}
 
* {{ping}}
  

Latest revision as of 17:00, 10 November 2024

fping (man) send ICMP ECHO_REQUEST packets to network hosts

brew install fping


Basic usage[edit]

  • 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
  • fping -l 8.8.8.8 1.1.1.1
  • fping -D -l 8.8.8.8 1.1.1.1


  • 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


−s, −−src Print cumulative statistics upon exit

See also[edit]


Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Source: https://en.wikiversity.org/wiki/Computer_Networks/Ping/Sweep/fping

Advertising: