1W(1)                          Linux User's Manual                         W(1)
2
3
4

NAME

6       w - Show who is logged on and what they are doing.
7

SYNOPSIS

9       w - [husfiV] [user]
10

DESCRIPTION

12       w  displays  information  about the users currently on the machine, and
13       their processes.  The header shows, in this order,  the  current  time,
14       how  long  the  system  has  been running, how many users are currently
15       logged on, and the system load averages for the past 1, 5, and 15  min‐
16       utes.
17
18       The  following entries are displayed for each user: login name, the tty
19       name, the remote host, login time, idle time, JCPU, PCPU, and the  com‐
20       mand line of their current process.
21
22       The  JCPU  time  is the time used by all processes attached to the tty.
23       It does not include past background jobs, but  does  include  currently
24       running background jobs.
25
26       The  PCPU  time  is  the time used by the current process, named in the
27       "what" field.
28
29

COMMAND-LINE OPTIONS

31       -h   Don't print the header.
32
33       -u   Ignores the username while figuring out the  current  process  and
34            cpu  times.   To demonstrate this, do a "su" and do a "w" and a "w
35            -u".
36
37       -s   Use the short format.  Don't print the login time,  JCPU  or  PCPU
38            times.
39
40       -f   Toggle  printing the from (remote hostname) field.  The default as
41            released is for the from field to not be  printed,  although  your
42            system  administrator or distribution maintainer may have compiled
43            a version in which the from field is shown by default.
44
45       -i   Display IP address instead of hostname (if possible)
46
47       -V   Display version information.
48
49       user Show information about the specified user only.
50
51

FILES

53       /var/run/utmp
54              information about who is currently logged on
55
56       /proc  process information
57

SEE ALSO

59       free(1), ps(1), top(1), uptime(1), utmp(5), who(1)
60
61

AUTHORS

63       w was re-written almost entirely by Charles Blake, based on the version
64       by Larry Greenfield <greenfie@gauss.rutgers.edu> and Michael K. Johnson
65       <johnsonm@redhat.com>.
66
67       Please send bug reports to <albert@users.sf.net>
68
69
70
71                                  8 Dec 1993                              W(1)
Impressum