Print this page
2849 uptime should use locale settings for current time
   1 '\" te

   2 .\"  Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
   3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6 .TH W 1 "Mar 19, 2004"
   7 .SH NAME
   8 w \- display information about currently logged-in users
   9 .SH SYNOPSIS
  10 .LP
  11 .nf
  12 \fBw\fR [\fB-hlsuw\fR] [\fIuser\fR]
  13 .fi
  14 
  15 .SH DESCRIPTION
  16 .sp
  17 .LP
  18 The \fBw\fR command displays a summary of the current activity on the system,
  19 including what each user is doing. The heading line shows the current time, the
  20 length of time the system has been up, the number of users logged into the
  21 system, and the average number of jobs in the run queue over the last 1, 5 and
  22 15 minutes.
  23 .sp
  24 .LP
  25 The fields displayed are: the user's login name, the name of the tty the user
  26 is on, the time of day the user logged on (in \fIhours:minutes\fR), the idle
  27 time\(emthat is, the number of minutes since the user last typed anything (in
  28 \fIhours:minutes\fR), the \fBCPU\fR time used by all processes and their
  29 children on that terminal (in \fIminutes:seconds\fR), the \fBCPU\fR time used
  30 by the currently active processes (in \fIminutes:seconds\fR), and the name and





  31 arguments of the current process.
  32 .SH OPTIONS
  33 .sp
  34 .LP
  35 The following options are supported:
  36 .sp
  37 .ne 2
  38 .na
  39 \fB\fB-h\fR\fR
  40 .ad
  41 .RS 6n
  42 Suppresses the heading.
  43 .RE
  44 
  45 .sp
  46 .ne 2
  47 .na
  48 \fB\fB-l\fR\fR
  49 .ad
  50 .RS 6n


   1 '\" te
   2 .\" Copyright (c) 2013 Gary Mills
   3 .\"  Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH W 1 "Dec 15, 2013"
   8 .SH NAME
   9 w \- display information about currently logged-in users
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 \fBw\fR [\fB-hlsuw\fR] [\fIuser\fR]
  14 .fi
  15 
  16 .SH DESCRIPTION
  17 .sp
  18 .LP
  19 The \fBw\fR command displays a summary of the current activity on the system,
  20 including what each user is doing. The heading line shows the current time, the
  21 length of time the system has been up, the number of users logged into the
  22 system, and the average number of jobs in the run queue over the last 1, 5 and
  23 15 minutes.
  24 .sp
  25 .LP
  26 The fields displayed are: the user's login name,
  27 the name of the tty the user is on,
  28 the time of day the user logged on (in ISO time format, weekday name
  29 and \fIhours:minutes\fR, or ISO date format), the idle
  30 time\(emthat is, the number of minutes since the user last typed anything
  31 (in \fIhours:minutes:seconds\fR),
  32 the \fBCPU\fR time used by all processes and their
  33 children on that terminal (in \fIhours:minutes:seconds\fR),
  34 the \fBCPU\fR time used
  35 by the currently active processes (in \fIhours:minutes:seconds\fR),
  36 and the name and
  37 arguments of the current process.
  38 .SH OPTIONS
  39 .sp
  40 .LP
  41 The following options are supported:
  42 .sp
  43 .ne 2
  44 .na
  45 \fB\fB-h\fR\fR
  46 .ad
  47 .RS 6n
  48 Suppresses the heading.
  49 .RE
  50 
  51 .sp
  52 .ne 2
  53 .na
  54 \fB\fB-l\fR\fR
  55 .ad
  56 .RS 6n