utmpd(1M) utmpd(1M)
NAME [Toc] [Back]
utmpd - user accounting database daemon
SYNOPSIS [Toc] [Back]
/usr/sbin/utmpd
DESCRIPTION [Toc] [Back]
utmpd, user accounting database daemon, manages the user accounting
database which is the database of currently logged-in users. This was
previously maintained by /etc/utmp and /etc/utmpx files on HP-UX.
Upon startup, utmpd writes its pid to the file
/etc/useracct/utmpd_pid. Applications can add, update, or query
entries into the database using the getuts() APIs. See the getuts(3C)
manual page for more information.
utmpd(1M) takes care of synchronizing the legacy /etc/utmpx file and
its own in-memory database. The synchronization is bi-directional
from the utmpd's database to the /etc/utmpx and from the /etc/utmpx
file to utmpd's database. However, this synchronization does not
happen in real time. There is a time lag which could span from a few
seconds on a lightly loaded system to a few minutes on a heavily
loaded system.
Signal Processing [Toc] [Back]
SIGTERM Perform graceful shutdown.
This causes the daemon to write its in-memory user
accounting database to the /etc/utmps file and
exit.
DIAGNOSTICS [Toc] [Back]
utmpd logs error messages to the system log using syslog(3C).
WARNINGS [Toc] [Back]
If utmpd is shutdown using SIGTERM, synchronization between /etc/utmpx
file and the /etc/utmps file does not take place. utmpd should not be
shutdown by the user unless it is for debugging purpose. On restart,
utmpd(1M) rebuilds its database from the /etc/utmps file.
AUTHOR [Toc] [Back]
utmpd was developed by Hewlett-Packard Company.
FILES [Toc] [Back]
/etc/utmps
/etc/useracct/utmpd_read
/etc/useracct/utmpd_write
/etc/useracct/utmpd_pid
/sbin/init.d/utmpd
/etc/rc.config.d/utmpd
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003
utmpd(1M) utmpd(1M)
SEE ALSO [Toc] [Back]
rlogind(1), telnetd(1), who(1), init(1M), bwtmps(3C), getuts(3C),
getutx(3C), btmps(4), utmp(4), utmpx(4), wtmps(4).
Hewlett-Packard Company - 2 - HP-UX 11i Version 2: August 2003 [ Back ] |