SPRAY(8C) COMMAND REFERENCE SPRAY(8C) NAME spray - spray packets SYNOPSIS /usr/etc/spray host [ -c count ] [ -d delay ] [ -i ] [ -l length ] DESCRIPTION The program spray sends a one-way stream of packets to host using RPC (Remote Procedure Call), and reports how many packets were received by host and reports the transfer rate. The host name can be either a name or an internet address. OPTIONS -c count Specifies how many packets to send. The default value of count is the number of packets required to make the total stream size 100000 bytes. -d delay Specifies how many microseconds to pause between sending each packet; the default is 0. -i Use ICMP (Internet Control Message Protocol) echo packets rather than RPC. Since ICMP automatically echos, this creates a two-way stream. -l length The length parameter is the number of bytes in the Ethernet packet that hold the RPC call message. Since the data is encoded using XDR (External Data Representation), and XDR only deals with 32 bit quantities, not all values of length are possible; spray rounds up to the nearest possible value. When length is greater than 1514, the RPC call can no longer be encapsulated in one Ethernet packet, so the length field no longer has a simple correspondence to Ethernet packet size. The default value of length is 86 bytes - the size of the RPC and UDP (Unreliable Datagram Protocol) headers. SEE ALSO icmp(4P), ping(8), sprayd(8C). Printed 5/12/88 1
%%index%% na:288,73; sy:361,419; de:780,445; op:1225,1775; se:3000,160; %%index%%000000000095