HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
spray(1M) spray(1M)
NAME
spray - spray packets
SYNOPSIS
/usr/sbin/spray host [-c count ][-l length]
DESCRIPTION
spray sends a one-way stream of packets to host using RPC, then reports how many were received by
host and what the transfer rate was. The host name can be either a name or an internet address.
Options
spray recognizes the following options and command-line arguments:
-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.
-l length The number of bytes in the Ethernet packet holding the RPC call message. Since the
data is encoded using XDR, and XDR only deals with 32-bit quantities, not all values
of length are possible. The spray command rounds up to the nearest possible value.
When length is greater than the size of an Ethernet packet, the system breaks the
datagram into multiple Ethernet packets. The default value of length is 86 bytes (the
size of the RPC and UDP headers).
AUTHOR
spray was developed by Sun Microsystems, Inc.
SEE ALSO
ping(1M), sprayd(1M).
Section 1M808 1 HP-UX Release 11i: December 2000
___
___