NAME
rstatd — kernel statistics server
SYNOPSIS
/usr/lib/netsvc/rstat/rpc.rstatd
[-l
log_file]
[-e|-n]
DESCRIPTION
rstatd
is an RPC server that returns performance statistics obtained
from the kernel.
The
rup
utility prints this information (see
rup(1)).
inetd
invokes
rstatd
through
/etc/inetd.conf
(see
inetd(1M)).
Options
rstatd
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, the 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
because 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
portmap(1M)),
another
rpc.rstatd
registers with
portmap,
or
rpc.rstatd
becomes unregistered with
portmap.
The
-n
option is more efficient since a new process is not
launched for each RPC request.
Note, this option is the default.
AUTHOR
rstatd
was developed by Sun Microsystems, Inc.