- online man pages   

SunOS man pages : utmpd (1)

Maintenance Commands                                    utmpd(1M)


utmpd - utmp and utmpx monitoring daemon


utmpd [ -debug ]


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 pro- cess' 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.


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


/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


See attributes(5) for descriptions of the following attri- butes: SunOS 5.8 Last change: 27 May 1997 1 Maintenance Commands utmpd(1M) ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWcsu | |_____________________________|_____________________________|


poll(2), pututline(3C), pututxline(3C), proc(4), utmp(4), utmpx(4), attributes(5) SunOS 5.8 Last change: 27 May 1997 2