redhat man page for lastlog

Query: lastlog

OS: redhat

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LASTLOG(8)						      System Manager's Manual							LASTLOG(8)

NAME
lastlog - examine lastlog file
SYNOPSIS
lastlog [<-u|--user> login-name] [<-t|--time> days] [<-h|--help>]
DESCRIPTION
lastlog formats and prints the contents of the last login log /var/log/lastlog file . The login-name, port, and last login time will be printed. The default (no flags) causes lastlog entries to be printed, sorted by the numerical UID. -u, --user login-name will cause the lastlog record for login-name only to be printed -t, --time days will cause only the lastlogins more recent han fIdays to be printed -h, --help print a one-line help message and exit. The -t flag overrides the use of -u. If the user has never logged in the message "**Never logged in**" will be displayed instead of the port and time.
FILES
/var/log/lastlog - lastlog logging file
CAVEATS
Large gaps in uid numbers will cause the lastlog program to run longer with no output to the screen (i.e. if mmdf=800 and last uid=170, program will appear to hang as it processes uid 171-799).
AUTHORS
Julianne Frances Haugh (jockgrrl@ix.netcom.com) Phillip Street LASTLOG(8)
Related Man Pages
wtmp(5) - osx
lastlog(8) - debian
utmp(5) - netbsd
wtmp(5) - netbsd
lastlog(5) - osx
Similar Topics in the Unix Linux Community
lastlog has duplicates
Lastlog and launched process
lastlog
Lastlog output help
To cleanup the root entries in lastlog