utmpd(1M)
NAME
utmpd − utmp and utmpx monitoring daemon
SYNOPSIS
utmpd [ −debug ]
DESCRIPTION
The utmpd daemon monitors /var/adm/utmp and /var/adm/utmpx files. See utmp(4) and utmpx(4).
utmpd receives requests from pututline(3C) and 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 utmp entry from /var/adm/utmp and /var/adm/utmpx. If the process’ utmp entry has not been removed, utmpd removes the entry. By periodically scanning the /var/adm/utmp and /var/adm/utmpx files, utmpd also monitors processes that are not in its table.
OPTIONS
−debug Run in debug mode, leaving the process connected to the controlling terminal. Write debugging information to standard output.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
FILES
/var/adm/utmp file containing user and accounting information for commands such as who(1), write(1), and login(1)
/var/adm/utmpx file containing an extended version of the information in /var/adm/utmp
/proc directory containing files for processes whose utmp entries are being monitored
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWcsu |
SEE ALSO
poll(2), pututline(3C), pututxline(3C), proc(4), utmp(4), utmpx(4), attributes(5)
SunOS 5.6 — Last change: 27 May 1997