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HlwZSI6InBhcmFncmFwaCIsInN0eWxlcyI6eyJhbGlnbiI6ImxlZnQiLCJpbmRlbnQiOjAsInRleHQtaW5kZW50IjowLCJsaW5lLWhlaWdodCI6MS43NX0sImJsb2NrSWQiOiIzNm13b2MxNTAyNTM4MTMyNjA1IiwicmljaFRleHQiOnsiaXNSaWNoVGV4dCI6dHJ1ZSwia2VlcExpbmVCcmVhayI6dHJ1ZSwiZGF0YSI6W3siY2hhciI6IjEiLCJzdHlsZXMiOnsiY29sb3IiOiIjREY0MDJBIn19LHsiY2hhciI6IjkiLCJzdHlsZXMiOnsiY29sb3IiOiIjREY0MDJBIn19LHsiY2hhciI6IjIiLCJzdHlsZXMiOnsiY29sb3IiOiIjREY0MDJBIn19LHsiY2hhciI6Ii4iLCJzdHlsZXMiOnsiY29sb3IiOiIjREY0MDJBIn19LHsiY2hhciI6InAiLCJzdHlsZXMiOnsiY29sb3IiOiIjREY0MDJBIn19LHsiY2hhciI6Im4iLCJzdHlsZXMiOnsiY29sb3IiOiIjREY0MDJBIn19LHsiY2hhciI6ImciLCJzdHlsZXMiOnsiY29sb3IiOiIjREY0MDJBIn19XX19LHsiYmxvY2tUeXBlIjoicGFyYWdyYXBoIiwic3R5bGVzIjp7ImFsaWduIjoibGVmdCIsImluZGVudCI6MCwidGV4dC1pbmRlbnQiOjAsImxpbmUtaGVpZ2h0IjoxLjc1fSwiYmxvY2tJZCI6IjE3ZmRvZDE1MDI1MzgxNTc2MTciLCJyaWNoVGV4
fping概述及源码包编译原理
最新推荐文章于 2021-12-09 00:38:13 发布
一 主机扫描命令fping
作用:批量给目标主机发送ping请求,测试主机存活情况。
特点:并行发送、结果易读。
二 源码包编译过程
三 通过源码包方式安装fping
1、获取源码包(http://fping.org)
[root@localhost ~]# wget http://fping.org/dist/fping-4.0.tar.gz
--2017-08-12 16:42:32-- http://fping.org/dist/fping-4.0.tar.gz
Resolving fping.org (fping.org)... 104.27.189.208, 104.27.188.208, 2400:cb00:2048:1::681b:bdd0, ...
Connecting to fping.org (fping.org)|104.27.189.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 170060 (166K) [application/x-gzip]
Saving to: ‘fping-4.0.tar.gz’
100%[==========================================================================================================================>] 170,060 44.0KB/s in 3.8s
2017-08-12 16:42:38 (44.0 KB/s) - ‘fping-4.0.tar.gz’ saved [170060/170060]
2、解压源码包
[root@localhost ~]# tar -xvf fping-4.0.tar.gz
[root@localhost ~]# cd fping-4.0/
[root@localhost fping-4.0]# ls
aclocal.m4 compile config.h.in configure COPYING doc install-sh Makefile.in src
CHANGELOG.md config.guess config.sub configure.ac depcomp INSTALL Makefile.am missing
3、配置检测
[root@localhost fping-4.0]# ./configure
[root@localhost fping-4.0]# ls
aclocal.m4 compile config.h config.log config.sub configure.ac depcomp INSTALL Makefile Makefile.in src
CHANGELOG.md config.guess config.h.in config.status configure COPYING doc install-sh Makefile.am missing stamp-h1
4、编译
[root@localhost fping-4.0]# make
5、安装
[root@localhost fping-4.0]# make install
[root@localhost fping-4.0]# whereis fping
fping: /usr/local/sbin/fping
[root@localhost fping-4.0]# fping -v
fping: Version 4.0
fping: comments to david@schweikert.ch