utmps(4) utmps(4)
NAME [Toc] [Back]
utmps - user-accounting database
SYNOPSIS [Toc] [Back]
#include <sys/types.h>
#include <utmps.h>
DESCRIPTION [Toc] [Back]
File utmps contains user accounting information for all users logged
onto the system. This file will be accessed by getuts(3C) only if
utmpd(1M) is not running. The following information is stored in the
utmps file:
+ User login name (up to 256 characters)
+ /etc/lines id
+ Device name (console, lnxx; up to 64 characters)
+ Process id
+ Type of entry
+ Exit status of a process marked as DEAD_PROCESS
+ The time the entry was made
+ Internet address of host, if remote (Both IPv4 and IPv6 addresses
are supported.)
+ Hostname, if remote (up to 256 characters)
This file contains user accounting information only when utmpd(1M) is
not running. When utmpd(1M) is active this file does not contain upto-date
user accounting information. The use of this file may be
discontinued in future releases.
FILES [Toc] [Back]
/etc/utmps
AUTHOR [Toc] [Back]
utmps was developed by Hewlett-Packard Company.
SEE ALSO [Toc] [Back]
last(1), login(1), who(1), write(1), acctcon(1M), fwtmp(1M),
utmpd(1M), getuts(3C).
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ] |