Print this page
2849 uptime should use locale settings for current time

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/w.1
          +++ new/usr/src/man/man1/w.1
   1    1  '\" te
        2 +.\" Copyright (c) 2013 Gary Mills
   2    3  .\"  Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
   3    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.
   4    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.
   5    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]
   6      -.TH W 1 "Mar 19, 2004"
        7 +.TH W 1 "Dec 15, 2013"
   7    8  .SH NAME
   8    9  w \- display information about currently logged-in users
   9   10  .SH SYNOPSIS
  10   11  .LP
  11   12  .nf
  12   13  \fBw\fR [\fB-hlsuw\fR] [\fIuser\fR]
  13   14  .fi
  14   15  
  15   16  .SH DESCRIPTION
  16   17  .sp
  17   18  .LP
  18   19  The \fBw\fR command displays a summary of the current activity on the system,
  19   20  including what each user is doing. The heading line shows the current time, the
  20   21  length of time the system has been up, the number of users logged into the
  21   22  system, and the average number of jobs in the run queue over the last 1, 5 and
  22   23  15 minutes.
  23   24  .sp
  24   25  .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
       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
  31   37  arguments of the current process.
  32   38  .SH OPTIONS
  33   39  .sp
  34   40  .LP
  35   41  The following options are supported:
  36   42  .sp
  37   43  .ne 2
  38   44  .na
  39   45  \fB\fB-h\fR\fR
  40   46  .ad
↓ open down ↓ 119 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX