Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ w(1) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

finger(1)

ps(1)

uptime(1)

users(1)

who(1)

w(1)  —  Commands

NAME

w − Prints a summary of current system activity

SYNOPSIS

w [−fm] [−h] [−l | −s] [user]

w −u [−m]

The w command prints a summary of the current activity on the system, followed by information about users on the system. 

DESCRIPTION

The system summary shows the current time, the amount of time since the system was last started, the number of users logged in to the system, and the load averages.  The load average numbers give the number of jobs in the run queue for the last 5 seconds, the last 30 seconds, and the last 60 seconds.  The Mach factor is a variant of the load average, given for the same intervals; the closer its value to 0 (zero), the higher the load. 

The information displayed for each user includes:

       •Who is logged in. 

       •What each user is doing. 

       •The abbreviated name of the tty or pty each user is on. 

       •The location, such as a remote site, from which each user logged in. 

       •The time of day each user logged in. 

       •The number of minutes since each user last entered data at the keyboard. 

       •The name and arguments of the current process. 

       •The system unit time used by the current process (PCPU). 

       •The system unit time used by all processes and their children on that system (JPCU). 

If you specify a user, output is restricted to that user. 

FLAGS

−fSuppresses the from field. 

−hSuppresses the system summary and the heading line. 

−lPrints information in the long format.  This is the default. 

−mPrints the Mach factor instead of the load average in the system summary. 

−sPrints the information in short format.  In the short form, the login time, system unit time, and command arguments are omitted. 

−uPrints the system summary only.  Using this flag is equivalent to entering the uptime command. 

FILES

/var/adm/utmpContains user and accounting information. 

RELATED INFORMATION

Commands: finger(1), ps(1), uptime(1), users(1), who(1). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026