In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
How to use the Linux fping command, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
Linux common commands the fping command fping is similar to ping, but more powerful than ping.
Fpingfping detects whether the host exists
The supplementary note is different from the fact that ping has to wait for a host to time out or send back feedback. After fping sends a packet to one host, it immediately sends a packet to the next. To achieve multi-host ping,fping, you can also specify the number of hosts to be ping on the command line.
Syntax fping (option) (parameter) option-a # shows the size of the surviving host-b # ping packet. (default is 56)-number of times per destination for c # ping (default is 1)-f # gets the target list from the file (cannot be used with-g)-l # loop sends ping-g # to generate the target list by specifying the start and end addresses, you can make the network segment-u # show the unreachable target instance install fping command:
# install epel source: yum install epel*-y # install fping package: yum install fping-y optional ping specify ip:
~] # fping 192.168.0.1 192.168.0.125 192.168.0.126 2 > / dev/null 192.168.0.1 is alive 192.168.0.125 is alive 192.168.0.126 is unreachableping entire network segment:
~] # fping-g 192.168.0.0 is alive 24 2 > / dev/null 192.168.0.1 is alive 192.168.0.103 is alive... 192.168.0.253 is unreachable 192.168.0.254 is unreachableping the entire network segment, showing only the surviving hosts:
~] # fping-ag 192.168.0 ip 24 2 > / dev/null 192.168.0.1 192.168.0.103... a certain segment of ip:
# fping-ag 192.168.0.5 192.168.0.1302 > / dev/null 192.168.0.103... 192.168.0.125 192.168.0.130 what is the Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-tasking, multi-threading and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.