HPlogo HP-UX Reference > S

statd(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

statd, rpc.statd — network status monitor

SYNOPSIS

/usr/sbin/rpc.statd [-l log_file]

DESCRIPTION

statd is an RPC server. It interacts with lockd to provide crash and recovery functions for the locking services on NFS (see lockd(1M)).

A fixed port can be specified for statd by using the STATD_PORT variable in the /etc/rc.config.d/nfsconf file, as shown:

STATD_PORT=port_number

The port number can have any value between 1 and 65535. After adding the port variable to the /etc/rc.config.d/nfsconf file, statd must be restarted for this to take effect. This feature can be disabled by deleting or commenting out the port variable from the /etc/rc.config.d/nfsconf file and restarting statd.

Options

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

WARNINGS

Changes in status of a site are detected only upon startup of a new status monitor and lock daemon.

The STATD_PORT variable will still be supported in HP-UX 11i V3, but the 11i V3 configuration file will be /etc/default/nfs and not /etc/rc.config.d/nfsconf.

AUTHOR

statd was developed by Sun Microsystems, Inc.

FILES

/var/statmon/sm/*

/var/statmon/sm.bak/*

/var/statmon/state