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 > R


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


rstatd — kernel statistics server


/usr/lib/netsvc/rstat/rpc.rstatd [-l log_file] [-e|-n]


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)).


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.


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 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.


rstatd 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.