Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

utmpx(5) [mojave man page]

UTMPX(5)						      BSD File Formats Manual							  UTMPX(5)

NAME
utmpx -- user accounting database SYNOPSIS
#include <utmpx.h> DESCRIPTION
In contrast to utmp and wtmp, the extended databases in utmpx and wtmpx reserve more space for logging hostnames, and also information on a process' ID, termination signal and exit status. The <utmpx.h> header defines the structures and functions for logging user. Currently logged in users are tracked in /var/run/utmpx. The interface to the utmpx file is described in endutxent(3). The file is not automatically created if they do not exist; it must be created manually. Traditionally, separate files would be used to store the running log of the logins and logouts (wtmpx), and the last login of each user (lastlogx). With the availability of the Apple system log facility asl(3), these separate files can be replace with log entries, which are automatically generated when utmpx entries are written. The API to access the logins and logouts is described in endutxent_wtmp(3) while the last login info is accessible with getlastlogx(3). For compatibility, changes to utmpx are reflected in utmp(3) (in the utmp, wtmp and lastlog files), but not the other way around. FILES
/var/run/utmpx The utmpx file. SEE ALSO
asl(3), endutxent(3), endutxent_wtmp(3), getlastlogx(3), utmp(5) BSD
January 31, 2007 BSD

Check Out this Related Man Page

UTMPX(5)						      BSD File Formats Manual							  UTMPX(5)

NAME
utmpx -- user accounting database SYNOPSIS
#include <utmpx.h> DESCRIPTION
In contrast to utmp and wtmp, the extended databases in utmpx and wtmpx reserve more space for logging hostnames, and also information on a process' ID, termination signal and exit status. The <utmpx.h> header defines the structures and functions for logging user. Currently logged in users are tracked in /var/run/utmpx. The interface to the utmpx file is described in endutxent(3). The file is not automatically created if they do not exist; it must be created manually. Traditionally, separate files would be used to store the running log of the logins and logouts (wtmpx), and the last login of each user (lastlogx). With the availability of the Apple system log facility asl(3), these separate files can be replace with log entries, which are automatically generated when utmpx entries are written. The API to access the logins and logouts is described in endutxent_wtmp(3) while the last login info is accessible with getlastlogx(3). For compatibility, changes to utmpx are reflected in utmp(3) (in the utmp, wtmp and lastlog files), but not the other way around. FILES
/var/run/utmpx The utmpx file. SEE ALSO
asl(3), endutxent(3), endutxent_wtmp(3), getlastlogx(3), utmp(5) BSD
January 31, 2007 BSD
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

User Problem

On my small network some of my users are having trouble logging in. What's something that I can do to find out what's wrong? Are there any commands that I can run or files I can check? ,AP (4 Replies)
Discussion started by: Anthony
4 Replies

2. UNIX for Dummies Questions & Answers

console error message

:confused: I receive the following error message when I try to logon to my Solaris 2.6 system; "No utmpx entry. You must exec "login" from lowest level "shell" " What does it mean ? I can't logon to the system at the moment! Any help appreciated. Regards (3 Replies)
Discussion started by: boristhespider
3 Replies

3. UNIX for Dummies Questions & Answers

Using the LOG_AUTH facility

Hi, I am wanting to enable logging of all ftp sessions on my Solaris 8 host. I want to at least log all ftp logins and if possible any commands that the user executes. I have tried various settings in syslog.conf then rereading syslogd but logging still does not happen. I have... (1 Reply)
Discussion started by: blp001
1 Replies

4. UNIX for Advanced & Expert Users

Logging out all logins. No one can answer this.

Hi all, I'm having the following problem and wondered if anyone here could help? I'm using a network at work which is running RH9 on all machines (I only have user access), when I log in to one of the machines in the computer cluster RH informs me I am already logged in elsewhere and mozilla... (2 Replies)
Discussion started by: brady9953
2 Replies

5. Shell Programming and Scripting

Logins-logouts

I want a script that checks the logins and logouts in a system.Is there a way to keep the logins and logouts in files and then compare them every e.g. 10 seconds? for tcsh. (1 Reply)
Discussion started by: aekaramg20
1 Replies

6. OS X (Apple)

How to prompt for login on OSX when starting Terminal

I was wondering if anyone can tell me how to log back in to unix after logging out. I have a MBPro. If I don't have the window close after exiting, then there is the phrase 'process completed' in brackets with a blinking cursor, but I can't type anything in. Is it also possible to start the... (4 Replies)
Discussion started by: Straitsfan
4 Replies