HPlogo HP-UX Reference Volume 3 of 5 > u

utmpx(4)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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 functionality is provided by libc APIs pututline and pututxline

FILES

/etc/utmpx

AUTHOR

utmpx was developed by HP and the University of California, Berkeley.

STANDARDS CONFORMANCE

<utmp.h>: X/OPEN 4.2

© Hewlett-Packard Development Company, L.P.