manpages.info - online man pages   

SunOS man pages : utmpx (4)

File Formats                                             utmpx(4)

NAME

utmpx, wtmpx - utmpx and wtmpx database entry formats

SYNOPSIS

#include <utmpx.h> /var/adm/utmpx /var/adm/wtmpx

DESCRIPTION

The utmpx and wtmpx files are extended database files that have superseded the obsolete utmp and wtmp database files. The utmpx database contains user access and accounting information for commands such as who(1), write(1), and login(1). The wtmpx database contains the history of user access and accounting information for the utmpx database.

USAGE

Applications should not access these databases directly, but should use the functions described on the getutxent(3C) manual page to interact with the utmpx and wtmpx databases to ensure that they are maintained consistently.

FILES

/var/adm/utmpx user access and adminstration information /var/adm/wtmpx history of user access and adminstrative information

SEE ALSO

wait(2), getutxent(3C), wstat(3XFN) SunOS 5.8 Last change: 22 Feb 1999 1