Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


rpc.sprayd, sprayd — spray server


/usr/lib/netsvc/spray/rpc.sprayd [-l log_file] [-e|-n]


sprayd is an RPC server that records the packets sent by spray from another system (see spray(1M)).

sprayd daemon may be started by inetd or through the command line. The service provided by sprayd is not useful as a networking benchmark as it uses unreliable connectionless transports, UDP, for example. It can report a large number of packets dropped when the drops were caused by the program sending packets faster than they can be buffered locally, that is, before the packets get to the network medium.


sprayd recognizes the following options and command-line arguments:

-l log_file

Log any errors to the named log file, log_file. Errors are not logged if the -l option is not specified.

Information logged to the file includes date and time of the error, host name, process id and name of the function generating the error, and the error message. Note that different services can share a single log file since enough information is included to uniquely identify each error.


Exit after serving each RPC request. Using the -e option, the inetd security file /var/adm/inetd.sec can control access to RPC services.


Exit only if

  • portmap dies (see rpcbind(1M)),

  • Another sprayd registers with portmap, or

  • sprayd becomes unregistered with portmap.

The -n option is more efficient because a new process is not launched for each RPC request. -n is the default.


sprayd was developed by Sun Microsystems, Inc.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.