diff options
Diffstat (limited to 'usr/src/man/man4/proc.4')
-rw-r--r-- | usr/src/man/man4/proc.4 | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/usr/src/man/man4/proc.4 b/usr/src/man/man4/proc.4 index 59fd43f9a0..4f123bfd93 100644 --- a/usr/src/man/man4/proc.4 +++ b/usr/src/man/man4/proc.4 @@ -1,7 +1,7 @@ '\" te .\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. -.\" Copyright (c) 2013, Joyent, Inc. All rights reserved. +.\" Copyright 2015, Joyent, Inc. .\" 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. 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 the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] @@ -665,6 +665,18 @@ the process. \fBpr_what\fR is unused in this case. .RE .sp +.ne 2 +.na +\fB\fBPR_BRAND\fR\fR +.ad +.RS 17n +indicates that the lwp stopped for a brand-specific reason. Interpretation +of the value of \fBpr_what\fR depends on which zone brand is in use. It is +not generally expected that an lwp stopped in this state will be restarted +by native \fBproc\fR(4) consumers. +.RE + +.sp .LP \fBpr_cursig\fR names the current signal, that is, the next signal to be delivered to the lwp, if any. \fBpr_info\fR, when the lwp is in a @@ -922,6 +934,15 @@ migrate to checking \fBPR_ISSYS\fR in the \fBpstatus\fR structure's 0x8000). \fBpr_pctcpu\fR is the summation over all lwps in the process. .sp .LP +The \fBpr_fname\fR and \fBpr_psargs\fR are writable by the owner of the +process. To write to them, the \fBpsinfo\fR file should be open for writing +and the desired value for the field should be written at the file offset +that corresponds to the member of structure. No other entry may be written +to; if a write is attempted to an offset that does not represent one of +these two memers, or if the size of the write is not exactly the size of +the member being written, no bytes will be written and zero will be returned. +.sp +.LP \fBpr_lwp\fR contains the \fBps\fR(1) information for the representative lwp. If the process is a \fIzombie\fR, \fBpr_nlwp\fR, \fBpr_nzomb\fR, and \fBpr_lwp.pr_lwpid\fR are zero and the other fields of \fBpr_lwp\fR are @@ -1066,6 +1087,12 @@ Contains the initial values of the process's aux vector in an array of \fBauxv_t\fR structures (see \fB<sys/auxv.h>\fR). The values are those that were passed by the operating system as startup information to the dynamic linker. +.SS "argv" +.LP +Contains the concatenation of each of the argument strings, including their +\fBNUL\fR terminators, in the argument vector (\fBargv\fR) for the process. If +the process has modified either its argument vector, or the contents of any of +the strings referenced by that vector, those changes will be visible here. .SS "ldt" .LP This file exists only on x86-based machines. It is non-empty only if the @@ -2538,6 +2565,16 @@ process aux vector .sp .ne 2 .na +\fB\fB/proc/\fIpid\fR/argv\fR\fR +.ad +.sp .6 +.RS 4n +process argument vector +.RE + +.sp +.ne 2 +.na \fB\fB/proc/\fIpid\fR/ldt\fR\fR .ad .sp .6 |