W(1,C) AIX Commands Reference W(1,C)
-------------------------------------------------------------------------------
w
PURPOSE
Prints who is on the system and what they are doing.
SYNTAX
+-------------------------+
w ---| +----+ +--------+ |---|
+---| -h |---| |---+
^ | -l | | +- user -+
| | -s | |
| +----+ |
+--------+
DESCRIPTION
The w command prints a summary of the current activity on the system, including
what each user is doing. The heading line shows the current time of day, how
long the system has been up, the number of users logged into the system, and
the load averages. The load average numbers give the number of jobs in the run
queue averaged over 1, 5 and 15 minutes.
The fields output are: the users login name, the name of the tty the user is
on, the time of day the user logged on, the number of minutes since the user
last typed anything, the CPU time used by all processes and their children on
that terminal, the CPU time used by the currently active processes, the name
and arguments of the current process.
If user is included, the output is restricted to that user.
FLAGS
-h Suppresses the heading.
-s Specifies short output form. In the short form, the tty is
abbreviated, the login time and cpu times are left off, as are the
arguments to commands.
-l Specifies the long output, which is the default.
FILES
/etc/utmp
/dev/kmem
Processed November 8, 1990 W(1,C) 1
W(1,C) AIX Commands Reference W(1,C)
RELATED INFORMATION
See the following commands: "who" and "ps."
Processed November 8, 1990 W(1,C) 2