Name

w

Synopsis

w [options] [user]

Prints 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

-d

Dumps all processes, rather than just top-level ones.

-h

Suppress headings and uptime information.

-i

List by idle time.

-M file

Use data from the supplied file.

-N sysname

Use data from the supplied sysname.

-n

List IP address as numbers.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.