SPRAY(1M) — Silicon Graphics
NAME
spray − spray packets
SYNOPSIS
/usr/etc/spray host [ −l ] [ −nth ] [ −c −cnt ]
DESCRIPTION
Spray send 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 value of cnt is the number of packets required to make the total stream size 10000 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.
Version 3.6 — December 20, 1987