Linux Command ping

Source: Internet
Author: User

Linux Command ping

The ping command is used to check the connectivity of the host.

Syntax:

Ping [-dfnqrRv] [-c <Number of completions>] [-I <interval seconds>] [-I <Network Interface>] [-l <preload>] [-p <data format>] [-s <packet size>] [-t <lifecycle>] Parameters: 
-D: Use the SO_DEBUG function of Socket. -F limit detection: sends request information at full speed without receiving a response. Only the system administrator can use it. -N: only the number is output. If the host address does not match the name-q, the command execution process is not displayed, except for the information at the beginning and end. -R bypasses the normal route table and directly transmits data packets to the remote host on the connected network. -R records the routing process. The IP address file header can contain only nine route information. -V displays the command execution process in detail. -C <Number of completions> sets the number of completed responses. When a request is sent and a response is received, a response is completed-I <interval seconds> specifies the interval between sending and receiving information. The Unit is seconds. The default value is 1 second, note that you cannot use-I <Network Interface> with the specified network interface to send data packets-l <preload> with the parameter-f to set the data packets that are sent before sending the required information. Only the system administrator can use this parameter-p <data format> to set the data format of the filled data packet. The-s <data packet size> must be set in hexadecimal format. The default value is 56 Bytes, and the 8 Bytes ICMP file header is a total of 64 Bytes-t <lifecycle>. Set the TTL value (Time-to-Live). The value range is 1 ~ 255


 

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.