fping 安装和参数使用

安装

1.获取源码包(http://fping.org/
使用wget直接下载 http://fping.org/dist/fping-3.10.tar.gz

[root@localhost ~]# wget http://fping.org/dist/fping-3.10.tar.gz

解压

[root@localhost ~]# tar -zxvf fping-3.10.tar.gz

编译

[root@localhost ~]# cd fping-3.10
[root@localhost fping-3.10]# ls
aclocal.m4  compile       config.h.in  configure     COPYING  doc      install-sh   Makefile.in  README
ChangeLog   config.guess  config.sub   configure.ac  depcomp  INSTALL  Makefile.am  missing      src
[root@localhost fping-3.10]# ./configure 
[root@localhost fping-3.10]# make
[root@localhost fping-3.10]# make install

常用参数介绍

-a 只显示出存活的主机(相反参数-u)

1、通过标准的输入方式 fping +IP1 + IP2
-g 支持主机段的方式 192.168.1.1 192.168.1.255 或者192.168.1.0/24

2、通过读取一个文件中IP内容

fpIng -f filename

专业墙纸贴纸厨房用具装饰出售,本人网店经营,访问即是爱

博客对你有用记得访问下哦,增加下访问量,如有需要可以下单购买哦^_^。店铺地址https://item.taobao.com/item.htm?id=570637716145

猜你喜欢

转载自blog.csdn.net/huangbaokang/article/details/80900497