HP-UX Reference (11i v2 03/08) - 4 File Formats (vol 8)
u
utmpx(4) utmpx(4)
NAME
utmpx - utmpx database storage file
SYNOPSIS
#include <sys/types.h>
#include <utmpx.h>
DESCRIPTION
File utmpx contains user accounting information for all users logged onto the system. This file will be
used instead of the utmp file, which is being depreciated. The following information is stored in the
utmpx file:
- User login name (up to 24 characters)
- /etc/lines id
- device name (console, lnxx)
- 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
The current version of HP-UX updates both
utmp and utmpx files and formats. Direct use of
utmpx
file is not recommended, because utmp and utmpx files must be updated simultaneously. This func-
tionality is provided by libc APIs pututline and pututxline
FILES
/etc/utmpx
AUTHOR
utmpx was developed by HP and the University of California, Berkeley.
SEE ALSO
last(1), login(1), who(1), write(1), acctcon(1M), fwtmp(1M), utmpd(1M), getut(3C), getuts(3C), utmp(4).
STANDARDS CONFORMANCE
<utmp.h>: X/OPEN 4.2
Section 4−−366 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003