⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ping.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.TH ping 8 .SH Nameping \- send ICMP ECHO_REQUEST packets to network hosts.SH Syntax.B /etc/ping[ \fIoptions\fR ].I host[.I datasize[.I npackets]].SH Description.NXR "ping command".NXR "ICMP ECHO_REQUEST"The DARPA Internet is a large and complex network of hardware connected together by gateways.The .PN pingcommand utilizes theICMP protocol's mandatory ECHO_REQUEST datagram to elicit anICMP ECHO_RESPONSE from a host or gateway.ECHO_REQUEST datagrams (pings) have an IP and ICMP header,followed by a \fBstruct timeval\fR, and then an arbitrary numberof pad bytes used to fill out the packet.The length of the default datagram 64 bytes, but this may be changedusing the command-line option..PPTyping ``ping \fIhost\fR'' without any options will either report ``\fIhost\fRis alive'' or ``no answer from \fIhost\fR''.To get more statistics use the .B \-loption or one of the other options..PPWhen using .PN pingfor fault isolation,it should first be run on the localhost to verify that the local network interface is up andrunning.Then, hosts and gateways further and further awayshould be pinged.The.PN pingcommand with options sends one datagram per second andprints one line of output for every ECHO_RESPONSE returned.No output is produced if there is no response.If an optional.I npacketsis given, only that number of requests is sent.Round-trip times and packet loss statistics are computed.When all responses have been received or the program times out with.I npacketsspecified,or if the program is terminated with a SIGINT, a briefsummary is displayed..SH Options.IP \fB-d\fR 5Turns on SO_DEBUG flag on the socket..IP \fB-l\fR 5Gives more statistics than if .PN pingis used without options.  Long output. .IP \fB-r\fR 5Bypasses the normal routing tables and sends directly to a host on an attachednetwork.If the host is not on a directly-attached network,an error is returned.This option can be used to ping a local host through an interfacethat has no route through it.  For example, after the interface was dropped by.MS routed 8c ..IP \fB-v\fR 5Lists ICMP packets other than ECHO RESPONSE that are received. Verbose output..SH RestrictionsThis program is intended for use in network testing, measurement,and management.It should be used primarily for manual fault isolation.Because of the load it could impose on the network,it is unwise to use.PN pingduring normal operations or from automated scripts..SH See Alsonetstat(1), ifconfig(8c)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -