other versions
- wheezy 1.1.3-2
- jessie 1.1.3-2
- testing 1.1.3-3
- unstable 1.1.3-3
- experimental 1.3.5-1
other sections
BING(8) | UNIX System Manager's Manual | BING(8) |
NAME¶
bing - compute point to point throughput using two sizes of ICMP ECHO_REQUEST packets to pairs of remote hosts.SYNOPSIS¶
bing [ dDnrRPvVwz] [-c count] [-e samples] [ -f samplefile] [-i wait] [-p pattern] [-s small packetsize] [-S big packetsize] host1 host2 [...]DESCRIPTION¶
Bing determines bandwidth on a point-to-point link by sending ICMP ECHO_REQUEST packets and measuring their roundtrip times for different packet sizes on each end of the link.- -c count
- Stop after count resets of the stats. Useful only in conjunction with the -e option. Defaults to 1.
- -d
- Set the SO_DEBUG option on the socket being used.
- -D
- Display the measured throughput at every received packet. By default, it is displayed only when the computed value changes, which itself changes only when the minimum roundtrip time for one of the packet sizes changes.
- -e samples
- Reset stats after sending samples ECHO_REQUEST packets.
- -f samplefile
- Saves the bandwidth measurements to the file samplefile.
- -i wait
- Wait wait seconds for each ECHO_REPLY packet. The default is to wait for four seconds.
- -n
- Numeric output only. No attempt will be made to lookup symbolic names for host addresses.
- -P
- Be pedantic regarding round-trip times.
- -p pattern
- You may specify up to 16 ``pad'' bytes to fill out the packet you send. This is useful for diagnosing data-dependent problems in a network. For example, ``-p ff'' will cause the sent packet to be filled with all ones.
- -R
- Record route. Includes the RECORD_ROUTE option in the ECHO_REQUEST packet and displays the route buffer on returned packets. Note that the IP header is only large enough for nine such routes. Many hosts ignore or discard this option.
- -r
- Bypass the normal routing tables and send directly to a host on an attached network. 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 interface that has no route through it (e.g., after the interface was dropped by routed(8)).
- -s small packetsize
- Specifies the number of data bytes to be sent in the small packets. The default and minimum value is 44.
- -S big packetsize
- Specifies the number of data bytes to be sent in the big packets. The default is 108. The size should be chosen so that big packet roundtrip times are long enough to be accurately measured (depending on clock resolution and number of hops).
- -u size increment
- Specifies that bing should start sending packets of the size of small packetsize and then increase the size by size increment until it reaches big packetsize.
- -v
- Verbose output. ICMP packets other than ECHO_RESPONSE that are received are listed.
- -V
- Very verbose output. The roundtrip time of each received echo is displayed.
- -w
- Display possible warnings about roundtrip times all the time. By default, warnings are printed only at the end.
- -z
- Fill packets with uncompressible (pseudo-random) data.
BUGS¶
Many Hosts and Gateways ignore the RECORD_ROUTE option.SEE ALSO¶
netstat(1), ifconfig(8), ping(8), routed(8), traceroute(8)AUTHOR¶
Pierre Beyssac <pb@fasterix.freenix.fr>April 3, 1995 |