|
System Administration Commands | utmpd(1M) |
| utmpd - utmpx monitoring daemon |
SYNOPSIS
|
The utmpd daemon monitors
the /var/adm/utmpx file. See utmpx(4) (and utmp(4) for historical information).
utmpd receives requests from pututxline(3C) by way of a named pipe. It maintains a table of processes and uses poll(2) on /proc files to detect process termination. When utmpd detects that a process has terminated, it checks that the process has removed its utmpx entry from /var/adm/utmpx. If the process' utmpx entry has not been removed, utmpd removes the entry. By periodically scanning the /var/adm/utmpx file, utmpd also monitors processes that
are not in its table.
|
|
- -debug
- Run in debug mode, leaving the process connected to the controlling terminal. Write debugging information to standard output.
|
|
The following exit values are returned:
-
0
- Successful completion.
-
>0
- An error occurred.
|
|
-
/etc/default/utmpd
- You can set default values for the flags listed below. For example: SCAN_PERIOD=600
-
SCAN_PERIOD
- The number of seconds that utmpd sleeps between checks of /proc to see if monitored processes are still alive. The default is 300.
-
MAX_FDS
- The maximum number of processes that utmpd attempts to monitor. The default value is 4096.
-
/var/adm/utmpx
- File containing user and accounting information for commands such as who(1), write(1), and login(1).
-
/proc
- Directory containing files for processes whose utmpx entries are being monitored.
|
|
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Availability | SUNWcsu |
|
SunOS 5.9 | Go To Top | Last Changed 15 August 2000 |
| |