HPlogo HP-UX Reference > S

spray(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

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.