Print this page

        

*** 416,425 **** --- 416,431 ---- PR_SUSPENDED indicates that the lwp stopped due to internal synchronization of lwps within the process. pr_what is unused in this case. + PR_BRAND indicates that the lwp stopped for a brand-specific + reason. Interpretation of the value of pr_what + 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 proc(4) consumers. + pr_cursig names the current signal, that is, the next signal to be delivered to the lwp, if any. pr_info, when the lwp is in a PR_SIGNALLED or PR_FAULTED stop, contains additional information pertinent to the particular signal or fault (see <sys/siginfo.h>).
*** 616,625 **** --- 622,639 ---- pr_pctcpu and pr_pctmem are 16-bit binary fractions in the range 0.0 to 1.0 with the binary point to the right of the high-order bit (1.0 == 0x8000). pr_pctcpu is the summation over all lwps in the process. + The pr_fname and pr_psargs are writable by the owner of the process. To + write to them, the psinfo 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. + pr_lwp contains the ps(1) information for the representative lwp. If the process is a zombie, pr_nlwp, pr_nzomb, and pr_lwp.pr_lwpid are zero and the other fields of pr_lwp are undefined: typedef struct lwpsinfo {
*** 724,733 **** --- 738,754 ---- Contains the initial values of the process's aux vector in an array of auxv_t structures (see <sys/auxv.h>). The values are those that were passed by the operating system as startup information to the dynamic linker. + argv + Contains the concatenation of each of the argument strings, including + their NUL terminators, in the argument vector (argv) 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. + ldt This file exists only on x86-based machines. It is non-empty only if the process has established a local descriptor table (LDT). If non-empty, the file contains the array of currently active LDT entries in an array of elements of type struct ssd, defined in <sys/sysi86.h>, one element
*** 2086,2095 **** --- 2107,2118 ---- process privileges /proc/pid/sigact process signal actions /proc/pid/auxv process aux vector + /proc/pid/argv + process argument vector /proc/pid/ldt process LDT (x86 only) /proc/pid/usage process usage /proc/pid/lusage