Go to main content

man pages section 5: File Formats

Exit Print View

Updated: Thursday, June 13, 2019
 
 

wtmpx(5)

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 administration information

/var/adm/wtmpx

history of user access and administrative information

See Also

getutxent(3C), wait(3C), wait.h(3HEAD)