1WHO(1)                      General Commands Manual                     WHO(1)
2
3
4

NAME

6       who - who is on the system
7

SYNOPSIS

9       who [ who-file ] [ am I ]
10

DESCRIPTION

12       Who,  without  an  argument,  lists  the login name, terminal name, and
13       login time for each current UNIX user.
14
15       Without an argument, who examines the /var/run/utmp file to obtain  its
16       information.  If a file is given, that file is examined.  Typically the
17       given file will be /usr/adm/wtmp, which contains a record  of  all  the
18       logins  since  it  was  created.   Then  who lists logins, logouts, and
19       crashes since the creation of the wtmp file.  Each login is listed with
20       user  name, terminal name (with `/dev/' suppressed), and date and time.
21       When an argument is given, logouts produce a  similar  line  without  a
22       user  name.  Reboots produce a line with `x' in the place of the device
23       name, and a fossil time indicative of when the system went down.
24
25       With two arguments, as in `who am I' (and  also  `who  are  you'),  who
26       tells who you are logged in as.
27

FILES

29       /var/run/utmp
30

SEE ALSO

32       getuid(2), utmp(5)
33
34
35
367th Edition                    November 27, 1996                        WHO(1)
Impressum