NAME
rpc.sprayd, sprayd — spray server
SYNOPSIS
/usr/lib/netsvc/spray/rpc.sprayd
[-l
log_file]
[-e|-n]
DESCRIPTION
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.
Options
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.
- -e
Exit after serving each RPC request.
Using the
-e
option, the
inetd
security file
/var/adm/inetd.sec
can control access to RPC services.
- -n
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.
AUTHOR
sprayd
was developed by Sun Microsystems, Inc.