Linux ping command details

Source: Internet
Author: User

Function Description: detects the host.

Syntax: ping [-dfnqrrv] [-C <Number of completions>] [-I <interval seconds>] [-I <Network Interface>] [-L <preload>] [-P <template style>] [-S <packet size>] [-T <survival value>] [host name or IP address]

Note: When the ping command is executed, the ICMP transmission protocol will be used to send a request response. If the network function of the remote host is normal, the system will return the response information, so that the host operates normally.

Parameters:
-D: Use the so_debug function of socket.
-C <Number of completions> set the number of completed requests.
-F limit detection.
-I <interval seconds> specifies the interval between sending and receiving information.
-I <Network Interface> use the specified network interface to send data packets.
-L <preload> sets the data packet that is sent before the request information is sent.
-N: only numbers are output.
-P <template style> sets the template style for filling data packets.
-Q does not display the instruction execution process, except for the information at the beginning and end.
-R ignores common routing tables and directly sends data packets to the remote host.
-R records the routing process.
-S <packet size> sets the packet size.
-T <survival value> sets the TTL value of the survival value.
-V displays the instruction execution process in detail.

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.