diff options
Diffstat (limited to 'usr/src/man/man4')
| -rw-r--r-- | usr/src/man/man4/proc.4 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr/src/man/man4/proc.4 b/usr/src/man/man4/proc.4 index 20f2089f5e..63568928f4 100644 --- a/usr/src/man/man4/proc.4 +++ b/usr/src/man/man4/proc.4 @@ -1,11 +1,11 @@ '\" te .\" Copyright 1989 AT&T .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved. -.\" Copyright (c) 2013, Joyent, Inc. All rights reserved. +.\" Copyright (c) 2014, Joyent, Inc. All rights reserved. .\" 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] -.TH PROC 4 "Mar 31, 2013" +.TH PROC 4 "May 19, 2014" .SH NAME proc \- /proc, the process file system .SH DESCRIPTION @@ -930,6 +930,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 |
