|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)last.1 6.3 (Berkeley) 9/10/87 ! 6: .\" ! 7: .TH LAST 1 "September 10, 1987" ! 8: .UC 4 ! 9: .SH NAME ! 10: last \- indicate last logins of users and ttys ! 11: .SH SYNOPSIS ! 12: \fBlast\fP [-#] [-f file] [-h host] [-t tty] [user ...] ! 13: .SH DESCRIPTION ! 14: \fILast\fP will list the sessions of specified \fIusers,\fP \fIttys,\fP ! 15: and \fIhosts,\fP in reverse time order. Each line of output contains ! 16: the user name, the tty from which the session was conducted, any ! 17: hostname, the start and stop times for the session, and the duration ! 18: of the session. If the session is still continuing or was cut short by ! 19: a crash or shutdown, \fIlast\fP will so indicate. ! 20: .PP ! 21: \fILast\fP reads the file \fIfile\fP, or by default, \fI/usr/adm/wtmp\fP. ! 22: The \fB-#\fP option limits the report to \fB#\fP lines. ! 23: .PP ! 24: Other arguments specify \fIusers,\fP \fIttys\fP or \fIhosts\fP of interest. ! 25: Tty names may be given fully or abbreviated, e.g., ``last -t 03'' is ! 26: equivalent to ``last -t tty03''. Host names may be internet numbers. If ! 27: multiple arguments are given, the information which applies to any of the ! 28: arguments is printed, e.g., ``last root -t console'' would list all of ! 29: ``root's'' sessions as well as all sessions on the console terminal. If no ! 30: users, hostnames or terminals are specified, \fIlast\fP prints a record of ! 31: all logins and logouts. ! 32: .PP ! 33: The pseudo-user \fBreboot\fP logs in at reboots of the system, thus ! 34: ``last reboot'' will give an indication of mean time between reboot. ! 35: .PP ! 36: If \fIlast\fP is interrupted, it indicates to what date the search has ! 37: progressed. If interrupted with a quit signal \fIlast\fP indicates how ! 38: far the search has progressed and then continues. ! 39: .SH FILES ! 40: /usr/adm/wtmp login data base ! 41: .br ! 42: .SH "SEE ALSO" ! 43: lastcomm(1), utmp(5), ac(8)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.