Ping of Linux commands

Source: Internet
Author: User

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

Grammar:

ping [-DFNQRRV] [-c < completion times;] [-I < interval seconds;] [-I < network interface;] [-l < pre-loading;] [-p < data format;] [-s < data packet size] ;] [-t < life cycle;] < host name or IP address >
Parameters:
-D uses the So_debug function of the Socket. -F limit detection, which does not wait for the response to send the request information at full speed. Only system administrators can use it. -n outputs only numeric values, not the matching name of the host address-Q does not show the command execution process, except for the beginning and end of the relevant information. -R bypasses the normal routing table and transmits packets to the remote host directly on the connected network. -R records the routing process. The IP file header can hold only 9 routing information. -V Displays the execution process of the command in detail. -C < finish > set the number of times to complete the response. 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 is 1 seconds, note cannot be used with parameter-F at the same time with-i < network interface > send packets with the specified network interface-l < preload > set the packets that are emitted before the request information is sent. Only the system administrator can use this parameter-p < data format > set the data format for filling up 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.