spray(8)

spray8

Send many packets to host

Usage

spray [-c count] [-d delay] [-l length] host ...

Overview

Spray sends multiple RPC packets to host and records how many of them were correctly received and how long it took.

The options are as follows:

-c count

Send count packets.

-d delay

Pause delay microseconds between sending each packet.

-l length

Set the length of the packet that holds the RPC call message to length bytes. Not all values of length are possible because RPC data is encoded using XDR. Spray rounds up to the nearest possible value.

Spray is intended for use in network testing, measurement, and management. This command can be very hard on a network and should be used with caution.

Releases

163 releases since Mac OS X 10.0; the text changed 2 times.

  1. 10.0–10.2.8
  2. 10.3–10.4.11
  3. 10.5–26.5

From network_cmds 741.100.2 in macOS 26.5. Parsed by carta from the page's mdoc source.