Print this page
4200 prctl(1): Duplicate information in the man page

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/prctl.1
          +++ new/usr/src/man/man1/prctl.1
   1    1  '\" te
   2    2  .\" Copyright (c) 2009 Sun Microsystems, Inc. All Rights Reserved
   3    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. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
   4    4  .\"  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    5  .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH PRCTL 1 "Aug 25, 2009"
        6 +.TH PRCTL 1 "Oct 30, 2013"
   7    7  .SH NAME
   8    8  prctl \- get or set the resource controls of running processes, tasks, and
   9    9  projects
  10   10  .SH SYNOPSIS
  11   11  .LP
  12   12  .nf
  13   13  \fBprctl\fR [\fB-P\fR] [\fB-t\fR [basic | privileged | system]]
  14   14       [\fB-n\fR \fIname\fR [\fB-srx\fR] [\fB-v\fR \fIvalue\fR] [\fB-e\fR | \fB-d\fR \fIaction\fR] [\fB-p\fR \fIpid\fR]]
  15   15       [\fB-i\fR \fIidtype\fR] \fIid\fR...
  16   16  .fi
↓ open down ↓ 5 lines elided ↑ open up ↑
  22   22  controls associated with an active process, task, or project on the system. It
  23   23  allows access to the  basic and privileged limits and the  current  usage  on
  24   24  the     specified entity.
  25   25  .sp
  26   26  .LP
  27   27  See \fBresource_controls\fR(5) for a description of the resource controls
  28   28  supported in the current release of the Solaris operating system.
  29   29  .SH OPTIONS
  30   30  .sp
  31   31  .LP
  32      -If none of the \fB-s\fR, \fB-r\fR, \fB-x\fR, \fB-v\fR, \fB-d\fR, or \fB-e\fR
  33      -options are specified, the invocation is considered a get operation. Otherwise,
  34      -it is considered a modify operation.
  35      -.sp
  36      -.LP
  37   32  The following options are supported:
  38   33  .sp
  39   34  .ne 2
  40   35  .na
  41   36  \fB\fB-d\fR | \fB-e\fR \fIaction\fR\fR
  42   37  .ad
  43   38  .sp .6
  44   39  .RS 4n
  45   40  Disables (\fB-d\fR) or enables (\fB-e\fR) the specified \fIaction\fR on the
  46   41  resource control value specified by \fB-v\fR, \fB-t\fR, and \fB-p\fR. If any of
↓ open down ↓ 185 lines elided ↑ open up ↑
 232  227  .sp .6
 233  228  .RS 4n
 234  229  Deletes the specified resource control value. If the delete option is not
 235  230  provided, the default operation of \fBprctl\fR is to modify a resource control
 236  231  value of matching value and privilege, or insert a new value with the given
 237  232  privilege. The matching criteria are discussed more fully in \fBsetrctl\fR(2).
 238  233  .RE
 239  234  
 240  235  .sp
 241  236  .LP
 242      -If none of the \fB-d\fR, \fB-e\fR, \fB-v\fR, or \fB-x\fR options is specified,
 243      -the invocation is considered a get operation.
      237 +If none of the \fB-s\fR, \fB-r\fR, \fB-x\fR, \fB-v\fR, \fB-d\fR, or \fB-e\fR
      238 +options are specified, the invocation is considered a get operation. Otherwise,
      239 +it is considered a modify operation.
 244  240  .SH OPERANDS
 245  241  .sp
 246  242  .LP
 247  243  The following operand is supported:
 248  244  .sp
 249  245  .ne 2
 250  246  .na
 251  247  \fB\fIid\fR\fR
 252  248  .ad
 253  249  .RS 6n
↓ open down ↓ 324 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX