SPRAY(8) — MAINTENANCE COMMANDS
NAME
spray − spray packets
SYNOPSIS
/usr/etc/spray host [ −l lnth ] [ −c cnt ]
DESCRIPTION
Spray sends a one-way stream of packets to host using rpc, and then reports how many were received by host and what the transfer rate was. The default value of lnth is 86 bytes (the size of the rpc and udp headers), and the default value of cnt is the numbers of packets required to make the total stream size 100000 bytes. The host name can be either a name or an internet address.
The lnth parameter is the numbers of bytes in the ethernet packet that holds the rpc call message. Since the data is encoded using xdr, and xdr only deals with 32 bit quantities, not all values of lnth are possible. Spray will round up to the nearest possible value. When lnth is greater than 1514, then the rpc call can no longer be encapsulated in one ethernet packet, so the lnth field no longer has a simple correspondence to ethernet packet size.
SEE ALSO
Sun Release 3.0β — Last change: 21 December 1985