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 ping 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.
The Linux common command ping command is used to test the connectivity of the network between hosts. The execution of the ping instruction uses the ICMP transport protocol to send a message requesting a response, and if there is nothing wrong with the network function of the remote host, it will respond to the message, thus knowing that the host is operating normally.
Ping tests network connectivity between hosts
Syntax ping (options) (parameters) option-d: use the SO_DEBUG function of Socket;-c: set the number of times the request response is completed;-f: limit detection;-I: specify the interval between sending and receiving messages;-I: send packets using the specified network interface;-l: set the packets sent before sending the request information;-n: output only values -p: set the template style to fill the packet;-Q: do not display the instruction execution process, except for the relevant information at the beginning and end;-r: ignore the ordinary Routing Table and send the packet directly to the remote host;-R: record the routing process;-s: set the size of the packet;-t: set the size of the survival value TTL;-v: show the execution process of the instruction in detail. Parameter destination host: specify the destination host to send the ICMP message.
Example [root@AY1307311912260196fcZ] # ping www.jsdig.com PING host.1.jsdig.com (100.42.212.8) 56 (84) bytes of data. 64 bytes from 100-42-212-8.static.webnx.com (100.42.212.8): icmp_seq=1 ttl=50 time=177 ms 64 bytes from 10042-212-8.static.webnx.com (100.42.212.8): icmp_seq=2 ttl=50 time=178 ms 64 bytes from 10042-212-8.static.webnx.com (100.42.212.8): icmp_seq=3 ttl=50 time=174 ms 64 bytes from 100-42-212-8.static.webnx.com (100.42.212.8): icmp_seq=4 ttl=50 time=177 ms. Press Ctrl+C to end-host.1.jsdig.com ping statistics-4 packets transmitted, 4 received, 0 packet loss, time 2998ms rtt min/avg/max/mdev = 174.068, 176.916, 178.182, 1.683 ms what is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threading and multi-CPU operating system Using Linux, you 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.