Go to main content

man pages section 4: File Formats

Exit Print View

Updated: July 2017



utmpx, wtmpx - utmpx and wtmpx database entry formats


#include <utmpx.h>


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.


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.



user access and adminstration information


history of user access and adminstrative information

See Also

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