Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/prstat.1m
          +++ new/usr/src/man/man1m/prstat.1m
   1    1  '\" te
        2 +.\" Copyright (c) 2013 Gary Mills
   2    3  .\" Copyright (c) 2006, 2009 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. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
   4    5  .\"  See the License for the specific language governing permissions and limitations under the License. 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
   5    6  .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH PRSTAT 1M "Jun 25, 2009"
        7 +.TH PRSTAT 1M "Apr 15, 2013"
   7    8  .SH NAME
   8    9  prstat \- report active process statistics
   9   10  .SH SYNOPSIS
  10   11  .LP
  11   12  .nf
  12      -\fBprstat\fR [\fB-acHJLmRrtTv\fR] [\fB-d\fR u | d] [\fB-C\fR \fIpsrsetlist\fR] [\fB-h\fR \fIlgrplist\fR]
       13 +\fBprstat\fR [\fB-acHJLmRrtTvWZ\fR] [\fB-d\fR u | d] [\fB-C\fR \fIpsrsetlist\fR] [\fB-h\fR \fIlgrplist\fR]
  13   14       [\fB-j\fR \fIprojlist\fR] [\fB-k\fR \fItasklist\fR] [\fB-n\fR \fIntop\fR[,\fInbottom\fR]]
  14   15       [\fB-p\fR \fIpidlist\fR] [\fB-P\fR \fIcpulist\fR] [\fB-s\fR \fIkey\fR | \fB-S\fR \fIkey\fR ]
  15      -     [\fB-u\fR \fIeuidlist\fR] [\fB-U\fR \fIuidlist\fR] [\fB-z\fR \fIzoneidlist\fR] [\fB-Z\fR]
       16 +     [\fB-u\fR \fIeuidlist\fR] [\fB-U\fR \fIuidlist\fR] [\fB-z\fR \fIzoneidlist\fR]
  16   17       [\fIinterval\fR [\fIcount\fR]]
  17   18  .fi
  18   19  
  19   20  .SH DESCRIPTION
  20   21  .sp
  21   22  .LP
  22   23  The \fBprstat\fR utility iteratively examines all active processes on the
  23   24  system and reports statistics based on the selected output mode and sort order.
  24   25  \fBprstat\fR provides options to examine only processes matching specified
  25   26  \fBPID\fRs, \fBUID\fRs, zone \fBID\fRs, \fBCPU\fR \fBID\fRs, and processor set
↓ open down ↓ 23 lines elided ↑ open up ↑
  49   50  .RE
  50   51  
  51   52  .sp
  52   53  .ne 2
  53   54  .na
  54   55  \fB\fB-c\fR\fR
  55   56  .ad
  56   57  .sp .6
  57   58  .RS 4n
  58   59  Print new reports below previous reports instead of overprinting them.
       60 +Long names are not truncated in this mode.
  59   61  .RE
  60   62  
  61   63  .sp
  62   64  .ne 2
  63   65  .na
  64   66  \fB\fB-C\fR \fIpsrsetlist\fR\fR
  65   67  .ad
  66   68  .sp .6
  67   69  .RS 4n
  68   70  Report only processes or lwps that are bound to processor sets in the given
↓ open down ↓ 52 lines elided ↑ open up ↑
 121  123  
 122  124  .sp
 123  125  .ne 2
 124  126  .na
 125  127  \fB\fB-J\fR\fR
 126  128  .ad
 127  129  .sp .6
 128  130  .RS 4n
 129  131  Report information about processes and projects. In this mode \fBprstat\fR
 130  132  displays separate reports about processes and projects at the same time.
      133 +A trailing asterisk marks a long name that has been truncated
      134 +to fit the column.
 131  135  .RE
 132  136  
 133  137  .sp
 134  138  .ne 2
 135  139  .na
 136  140  \fB\fB-k\fR \fItasklist\fR\fR
 137  141  .ad
 138  142  .sp .6
 139  143  .RS 4n
 140  144  Report only processes or lwps whose task \fBID\fR is in \fItasklist\fR.
↓ open down ↓ 216 lines elided ↑ open up ↑
 357  361  Report verbose process usage. This output format includes the percentage of
 358  362  time the process has spent in user mode, in system mode, and sleeping. It also
 359  363  includes the number of voluntary and involuntary context switches, system calls
 360  364  and the number of signals received. Statistics that are not reported are marked
 361  365  with the \fB-\fR sign.
 362  366  .RE
 363  367  
 364  368  .sp
 365  369  .ne 2
 366  370  .na
      371 +\fB\fB-W\fR\fR
      372 +.ad
      373 +.sp .6
      374 +.RS 4n
      375 +Truncate long names even when \fBprstat\fR would normally print them
      376 +in full.
      377 +A trailing asterisk marks a long name that has been truncated
      378 +to fit the column.
      379 +.RE
      380 +
      381 +.sp
      382 +.ne 2
      383 +.na
 367  384  \fB\fB-z\fR \fIzoneidlist\fR\fR
 368  385  .ad
 369  386  .sp .6
 370  387  .RS 4n
 371  388  Report only processes or LWPs whose zone ID is in the given list. Each zone ID
 372  389  can be specified as either a zone name or a numerical zone ID. See
 373  390  \fBzones\fR(5).
 374  391  .RE
 375  392  
 376  393  .sp
 377  394  .ne 2
 378  395  .na
 379  396  \fB\fB-Z\fR\fR
 380  397  .ad
 381  398  .sp .6
 382  399  .RS 4n
 383  400  Report information about processes and zones. In this mode, \fBprstat\fR
 384  401  displays separate reports about processes and zones at the same time.
      402 +A trailing asterisk marks a long name that has been truncated
      403 +to fit the column.
 385  404  .RE
 386  405  
 387  406  .SH OUTPUT
 388  407  .sp
 389  408  .LP
 390  409  The following list defines the column headings and the meanings of a
 391  410  \fBprstat\fR report:
 392  411  .sp
 393  412  .ne 2
 394  413  .na
↓ open down ↓ 5 lines elided ↑ open up ↑
 400  419  .RE
 401  420  
 402  421  .sp
 403  422  .ne 2
 404  423  .na
 405  424  \fBUSERNAME\fR
 406  425  .ad
 407  426  .sp .6
 408  427  .RS 4n
 409  428  The real user (login) name or real user \fBID\fR.
      429 +A trailing asterisk marks a long name that has been truncated
      430 +to fit the column.
 410  431  .RE
 411  432  
 412  433  .sp
 413  434  .ne 2
 414  435  .na
 415  436  \fBSWAP\fR
 416  437  .ad
 417  438  .sp .6
 418  439  .RS 4n
 419  440  The total virtual memory size of the process, including all mapped files and
↓ open down ↓ 448 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX