Ping command in linux

Source: Internet
Author: User
Tags network function
In linux, the ping command in linux is used to check whether hosts on the network are working. When the ping command is executed, the ICMP transmission protocol is used to send the request response information. if the network function of the remote host is normal, the system returns the response information, so I know that the host is running normally... in linux, the ping command in linux is used to check whether hosts on the network are working. When the ping command is executed, the ICMP transmission protocol is used to send the request response information. if the network function of the remote host is normal, the system returns the response information, therefore, the general format of the host's normal ping command is: ping [-dfnqrRv] [-c message frequency] [-I interval seconds] [-I network interface] [-l preload] [-p template style]
[-S packet size] [-t survival value] [host name or IP address] parameter description:-d uses the Socket SO_DEBUG function. -F limit detection. Send a large number of network packets to a machine quickly and view the response. -N: only numbers are output. Www.2cto.com-q does not display any information about the transfer packet, but only displays the final result. -R ignores common Routing tables and directly sends data packets to the remote host. Check whether the network interface of the local machine is faulty. -R records the routing process. -V displays the instruction execution process in detail. -The number of c stops when a specified number of packages are sent. -I: sets the interval of seconds to send a network packet to a machine. the default value is to send a packet once a second. -The I network interface uses the specified network interface to send data packets. -L the pre-loading setting is used to send packets before the request information is sent. -The p template style is used to set the pattern for filling data packets. -S bytes indicates the number of data bytes to be sent. the default value is 56, plus an 8-byte ICMP header, which is a total of 64 ICMP data bytes. -T: specifies the TTL value of the survival value. Author wuplus

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.