Ping of Linux commands

Source: Internet
Author: User

The ping command is primarily used to test the connectivity of the host.

Grammar:

ping [-DFNQRRV] [-c < completed number;] [-I < interval seconds;] [-I < network interface;] [-l < pre-loading;] [-p < data format;] [-s < packet size] ;] [-t < life cycle;] < host name or IP address >
Number of references:
-D uses the So_debug function of the Socket.

-F limit detection. The request is sent at full speed without waiting for the response to be received. Only a system administrator can use it.

-n outputs only numeric values, not the matching name of the host address,-Q does not show the command run process, except for the beginning and end of the relevant information. -R bypasses the normal routing table. The packets are routed directly to the remote host on the connected network. -R records the routing process. The IP file header can hold only 9 routing information.

-V specifically displays the command's run process. -C < finish > set the number of responses to complete. A request is made and a response is received to complete one response-i < interval seconds > Specify the interval information to send and receive information.

Unit is seconds, default feel 1 seconds, note can not with the parameter-F at the same time use-i < network interface > transfer packets using the specified network interface-l < pre-load > set the packet before sending out the required information. Only system administrators can use this parameter-p < data format > settings to fill the data format of the packet, you must set the-s < packet size > set the size of the packet in hexadecimal.

The default value is Bytes, plus 8 Bytes ICMP header total 64 bytes-T < life cycle > Setting the size of the Live value TTL (time-to-live), in the range of 1~255



Ping of Linux commands

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.