1.117 NWPING

Purpose

Use at the server console for remote host reachability diagnosis.

The NWPING utility sends a packet to the specified host and waits for a reply. The host address and roundtrip times for each pair of packets are displayed. In addition, the total number of packets sent; total number of packets received; percent packet loss; and the minimum, average, and maximum roundtrip times are displayed when the program exits.

Syntax



nwping [-afnq] [-c count] [-i wait] [-l preload] [-p pattern]    [-s packetsize] [-S src_addr] [-t timeout] [host] [-help]

The following table contains a list of supported options and a description of what each does.

Option

Use to

-a

Include a bell (ASCII 0x07) character in the output when any packet is received.

-f

Output packets as fast as one hundred times per second. For every ECHO_REQUEST sent, a period ( . ) is printed; for every ECHO_REPLY received, a backspace is printed. This provides a rapid display of how many packets are being dropped. This can be very hard on the network and should be used with caution.

-n

Display numeric output only. No attempt will be made to look up symbolic names for host addresses.

-q

Quiet output. Nothing is displayed except the summary lines at startup and completion.

-c count

Stop after sending (and receiving) count ECHO_RESPONSE packets. If this option is not specified, NWPING operates until interrupted.

-i wait

Specify the time interval (in seconds) between packet sends. This option is incompatible with the -f option.

Minimum: 1

Maximum: 10

-l preload

Send packets as fast as possible before falling into normal mode of behavior.

Maximum: 100

-p pattern

Diagnose data-dependent problems in a network. You can specify up to 16 pattern bytes to fill out the packet you send. Length should be 16.

Example: -p 012345678910abcdef

-s packetsize

Specify the number of data bytes to be sent.

Maximum: 36992

Default: 56 (equals 64 ICMP data bytes when combined with the 8 bytes of ICMP header data)

-S src_addr

Use the IP address as the source address in outgoing packets. On hosts with more than one IP address, this option can be used to force the source address to be other than the IP address of the interface that the probe packet is sent on. If the IP address is not one of this machine's interface addresses, an error is returned and nothing is sent.

host

Specify the destination host that the connection needs to be checked on.

-help

Display the help for this utility.