Fping of the latest CentOS network Tool

Source: Internet
Author: User

Fping of the latest CentOS network Tool
Ping is the most common command tool in the system, and fping is the enhanced version of ping. The installation process is very simple: [root @ mail/] # wget -- limit-rate 500 khttp: // www.fping.org/dist/fping-3.8.tar.gz?root@mail/] # tar zxvffping-3.8.tar.gz & cdfping-3.8 [root @ mail/] #. /configure & make install [root @ mail/] # fping -- helpfping: invalid option -- '-' 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-D print timestamp before each output line-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)-H n Set the ip ttl value (Time To Live hops)-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 ninterval 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-I if bind to a participant interface-S addr set source address-t n individual target initial timeout (in millisec) (default 500) -T n ignored (for compatibility with fping 2.4)-u show targets that are unreachable-O n set the type of service (tos) flag on the ICMP packets-v show version

  • Active host in the outbound LAN
[Root @ mail/] # fping-a 192.168.0.1/24-g 2>/dev/null192.168.0.1192.160.3 ..................
  • Query DNS
Fping has a-d, which returns the host name through each echo response for DNS query. This option can be used to print the host name in the ping response information instead of the IP Address [root @ mail/] # cat ip_list.txt192.168.255.5192.168.255.11192.168.255.53192.168.255.241 ........................ [Root @ mail/] # fping-a-d 2>/dev/null <ip_list.txtwww.vqiudns.vqiu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.