HP-UX Reference (11i v2 04/09) - 1M System Administration Commands N-Z (vol 4)

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 100 000 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).
HP-UX 11i Version 2: September 2004 1 Hewlett-Packard Company Section 1M795