w — Display Information About Currently Logged-in Users

Synopsis

/usr/bin/w [-hlsuw][user] 

Description

The w command displays a summary of the current activity on the system, including what each user is doing. The heading line shows the current time, the length of time the system has been up, the number of users logged into the system, and the average number of jobs in the run queue over the last 1, 5, and 15 minutes. w is a combination of who, uptime, and ps -a.

The fields displayed are the user's login name, the name of the TTY the user is on, the time of day the user logged on (in hours:minutes), the idle time (that is, the number of minutes since the user last typed anything in hours:minutes), the CPU time used by all processes and their ...

Get Solaris™ 7 Reference 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.