|
|
1.1 root 1: .TH WHO 1 "18 January 1983"
2: .SH NAME
3: who \- who is on the system
4: .SH SYNOPSIS
5: .B who
6: [ who-file ] [
7: .B "am I"
8: ]
9: .SH DESCRIPTION
10: .I Who,
11: without an argument,
12: lists the login name, terminal name, and login time
13: for each current UNIX user.
14: .PP
15: Without an argument,
16: .I who
17: examines the
18: .I /etc/utmp
19: file to obtain its information.
20: If a file is given, that file is examined.
21: Typically the given file will be /usr/adm/wtmp,
22: which contains a record of all the logins since it
23: was created.
24: Then
25: .I who
26: lists
27: logins, logouts, and crashes since the creation of
28: the wtmp file.
29: Each login is listed with user name,
30: terminal name (with `/dev/'
31: suppressed),
32: and date and time.
33: When an argument is given, logouts produce a similar line without a user name.
34: Reboots produce a line with `x' in the place of the device name,
35: and a fossil time indicative of when the system went down.
36: .PP
37: With two arguments,
38: as in `who am I' (and also `who are you'),
39: .I who
40: tells who you are logged in as.
41: .SH FILES
42: /etc/utmp
43: .SH "SEE ALSO"
44: getuid(2), utmp(5)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.