« Squid 2.6.PRE2 release | Main | ODBC 数据库错误80004005 不能打开注册表关键字 »
June 7, 2006
fping - ICMP ping 的替代者
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。 https://windtear.net/archives/2006/06/07/001000.html http://windtear.net/archives/2006/06/07/001000.html fping - ICMP ping 的替代者 http://www.fping.com/ http://www.fping.com/download/ http://www.fping.com/download/fping.tar.gz 2006-03-07 23:59:37 fping.tar.gz 60968 bytes The latest version is 2.4b2_to-ipv6 (16-Jan-2002) fping (Maintained by Thomas Dzubin) fping 的优点: 1. 可以一次ping多个主机 2. 可以从主机列表文件ping 3. 结果清晰 便于脚本处理 4. 速度快 有用的参数: -g ping 网段 -s 显示统计 -r 1 设置重试次数 Usage: fping [options] [targets...] -a show targets that are alive -A show targets by address -b n amount of ping data to send, in bytes (default 56) -B f set exponential backoff factor to f -c n count of pings to send to each target (default 1) -C n same as -c, report results in verbose format -e show elapsed time on return packets -f file read list of targets from a file ( - means stdin) (only if no -g specified) -g generate target list (only if no -f specified) (specify the start and end IP in the target list, or supply a IP netmask) (ex. fping -g 192.168.1.0 192.168.1.255 or fping -g 192.168.1.0/24) -i n interval between sending ping packets (in millisec) (default 25) -l loop sending pings forever -m ping multiple interfaces on target host -n show targets by name (-d is equivalent) -p n interval between ping packets to one target (in millisec) (in looping and counting modes, default 1000) -q quiet (don't show per-target/per-ping results) -Q n same as -q, but show summary every n seconds -r n number of retries (default 3) -s print final stats -t n individual target initial timeout (in millisec) (default 500) -u show targets that are unreachable -v show version targets list of targets to check (if no -f specified) |
Posted by windtear at June 7, 2006 11:51 PM