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/man1/ps.1
          +++ new/usr/src/man/man1/ps.1
   1    1  '\" te
   2    2  .\" Copyright 1989 AT&T
   3    3  .\" Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
   4    4  .\" Copyright (c) 2012, Joyent, Inc. All Rights Reserved
        5 +.\" Copyright (c) 2013 Gary Mills
   5    6  .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
   6    7  .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at  http://www.opengroup.org/bookstore/.
   7    8  .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text
   8    9  .\" are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical
   9   10  .\" and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
  10   11  .\"  This notice shall appear on any product containing this material.
  11   12  .\" 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.
  12   13  .\"  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
  13   14  .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  14      -.TH PS 1 "Aug 16, 2009"
       15 +.TH PS 1 "Apr 16, 2013"
  15   16  .SH NAME
  16   17  ps \- report process status
  17   18  .SH SYNOPSIS
  18   19  .LP
  19   20  .nf
  20      -\fBps\fR [\fB-aAcdefjHlLPyZ\fR] [\fB-g\fR \fIgrplist\fR] [\fB-h\fR \fIlgrplist\fR]
       21 +\fBps\fR [\fB-aAcdefjHlLPWyZ\fR] [\fB-g\fR \fIgrplist\fR] [\fB-h\fR \fIlgrplist\fR]
  21   22       [\fB-n\fR \fInamelist\fR] [\fB-o\fR \fIformat\fR]... [\fB-p\fR \fIproclist\fR]
  22   23       [\fB-s\fR \fIsidlist\fR] [\fB-t\fR \fIterm\fR] [\fB-u\fR \fIuidlist\fR] [\fB-U\fR \fIuidlist\fR]
  23   24       [\fB-G\fR \fIgidlist\fR] [\fB-z\fR \fIzonelist\fR]
  24   25  .fi
  25   26  
  26   27  .SH DESCRIPTION
  27   28  .sp
  28   29  .LP
  29   30  The \fBps\fR command prints information about active processes. Without
  30   31  options, \fBps\fR prints information about processes that have the same
↓ open down ↓ 223 lines elided ↑ open up ↑
 254  255  .ad
 255  256  .RS 15n
 256  257  Lists information for processes whose real user \fBID\fR numbers or login names
 257  258  are given in \fIuidlist\fR. The \fIuidlist\fR must be a single argument in the
 258  259  form of a blank- or comma-separated list.
 259  260  .RE
 260  261  
 261  262  .sp
 262  263  .ne 2
 263  264  .na
      265 +\fB\fB-W\fR\fR
      266 +.ad
      267 +.RS 15n
      268 +Truncate long names even when \fBps\fR would normally print them
      269 +in full.
      270 +A trailing asterisk marks a long name that has been truncated
      271 +to fit the column.
      272 +.RE
      273 +
      274 +.sp
      275 +.ne 2
      276 +.na
 264  277  \fB\fB-y\fR\fR
 265  278  .ad
 266  279  .RS 15n
 267  280  Under a long listing (\fB-l\fR), omits the obsolete \fBF\fR and \fBADDR\fR
 268  281  columns and includes an \fBRSS\fR column to report the resident set size of the
 269  282  process. Under the \fB-y\fR option, both \fBRSS\fR and \fBSZ\fR (see below) is
 270  283  reported in units of kilobytes instead of pages.
 271  284  .RE
 272  285  
 273  286  .sp
↓ open down ↓ 124 lines elided ↑ open up ↑
 398  411  .RE
 399  412  
 400  413  .sp
 401  414  .ne 2
 402  415  .na
 403  416  \fB\fBUID\fR (f,l)\fR
 404  417  .ad
 405  418  .RS 14n
 406  419  The effective user \fBID\fR number of the process (the login name is printed
 407  420  under the \fB-f\fR option).
      421 +A trailing asterisk marks a long name that has been truncated
      422 +to fit the column.
 408  423  .RE
 409  424  
 410  425  .sp
 411  426  .ne 2
 412  427  .na
 413  428  \fB\fBPID\fR(all)\fR
 414  429  .ad
 415  430  .RS 14n
 416  431  The process \fBID\fR of the process (this datum is necessary in order to kill a
 417  432  process).
↓ open down ↓ 187 lines elided ↑ open up ↑
 605  620  .sp
 606  621  .LP
 607  622  The format specification must be a list of names presented as a single
 608  623  argument, blank- or comma-separated. Each variable has a default header. The
 609  624  default header can be overridden by appending an equals sign and the new text
 610  625  of the header. The rest of the characters in the argument is used as the header
 611  626  text. The fields specified are written in the order specified on the command
 612  627  line, and should be arranged in columns in the output. The field widths are
 613  628  selected by the system to be at least as wide as the header text (default or
 614  629  overridden value). If the header text is null, such as \fB-o\fR \fIuser=,\fR
 615      -the field width is at least as wide as the default header text. If all header
 616      -text fields are null, no header line is written.
      630 +the field width is at least as wide as the default header text.
      631 +Long names are not truncated in this mode.
      632 +If all header text fields are null, no header line is written.
 617  633  .sp
 618  634  .LP
 619  635  The following names are recognized in the POSIX locale:
 620  636  .sp
 621  637  .ne 2
 622  638  .na
 623  639  \fB\fBuser\fR\fR
 624  640  .ad
 625  641  .RS 10n
 626  642  The effective user \fBID\fR of the process. This is the textual user \fBID\fR,
↓ open down ↓ 693 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX