UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: volcheckChapter 2
Unix Commands
Next: Reference: wait
 

w

w [options] [user]

Print summaries of system usage, currently logged-in users, and what they are doing. w is essentially a combination of uptime, who, and ps -a. Display output for one user by specifying user.

Options

-h

Suppress headings and uptime information.

-l

Display in long format (the default).

-s

Display in short format.

-u

Print just the heading line. Equivalent to uptime. Solaris only.

-w

Same as -1. Solaris only.


Previous: Reference: volcheckUNIX in a Nutshell: System V EditionNext: Reference: wait
Reference: volcheckBook IndexReference: wait

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System