fping

2017-09-07

fping is a program like ping which uses the Internet Control Message Protocol (ICMP) echo request to determine
if a target host is responding.  fping differs from ping in that you can specify any number of targets on the
command line, or specify a file containing the lists of targets to ping.

 

1、下载:http://fping.org/dist/

wget http://fping.org/dist/fping-4.0.tar.gz

wget http://fping.org/dist/fping-3.16.tar.gz

2、tar zxf fping-4.0.tar.gz
./configure;make;make install
3、另外,CentOS5.0最好安装fping3.16,CentOS7.0可以安装fping 4.0

CentOS5.0安装fping4.0否则容易报错:(null): can't create raw socket (must run as root?) : Address family not supported by protocol

4、常用方法:

fping 192.168.1.1

fping -g 192.168.1.1/24

fping -f file.txt

 

分类:Linux | 标签: |

相关日志

评论被关闭!