lastlogx man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

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

NAME
     utmpx, wtmpx, lastlogx — 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, a list of
     all logins and logouts, as well as all shutdowns, reboots and date
     changes, is kept in /var/log/wtmpx, and the last login of each user is
     noted in /var/log/lastlogx.

     The interface to the utmpx file is described in getutxent(3).

     The wtmpx file can grow rapidly on busy systems, and is normally rotated
     with newsyslog(8).

     In the event of a date change, a shutdown, or a reboot, the following
     items are logged in the wtmpx file:
	   date	       The system time has been manually or automatically
		       updated by date(1).  The command name date is recorded
		       in the field ut_name.  In the field ut_line, the char‐
		       acter ‘|’ indicates the time prior to the change, and
		       the character ‘{’ indicates the new time.
	   reboot
	   shutdown    A system reboot or shutdown has been initiated.	The
		       character ‘~’ is placed in the field ut_line, and
		       reboot or shutdown in the field ut_name (see
		       shutdown(8) and reboot(8)), using logwtmpx(3).

FILES
     /var/run/utmpx	The utmpx file.
     /var/log/wtmpx	The wtmpx file.
     /var/log/lastlogx	The lastlogx file.

SEE ALSO
     last(1), login(1), rwho(1), w(1), who(1), endutxent(3), logwtmpx(3),
     utmp(5), ac(8), init(8), newsyslog(8), reboot(8)

BSD			       January 31, 2007				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net