259 microstate accounting is enabled. However, this flag
260 has been deprecated and no longer has any effect.
261 Microstate accounting may not be disabled; however, it
262 is still possible to toggle the flag.
263
264 PR_MSFORK Set by default in all processes to indicate that
265 microstate accounting will be enabled for processes that
266 this parent fork(2)s. However, this flag has been
267 deprecated and no longer has any effect. It is possible
268 to toggle this flag; however, it is not possible to
269 disable microstate accounting.
270
271 PR_BPTADJ process has its breakpoint adjustment mode set (see
272 PCSET).
273
274 PR_PTRACE process has its ptrace-compatibility mode set (see
275 PCSET).
276
277 pr_nlwp is the total number of active lwps in the process. pr_nzomb is
278 the total number of zombie lwps in the process. A zombie lwp is a non-
279 detached lwp that has terminated but has not been reaped with thr_join(3)
280 or pthread_join(3C).
281
282 pr_pid, pr_ppi, pr_pgid, and pr_sid are, respectively, the process ID,
283 the ID of the process's parent, the process's process group ID, and the
284 process's session ID.
285
286 pr_aslwpid is obsolete and is always zero.
287
288 pr_agentid is the lwp-ID for the /proc agent lwp (see the PCAGENT control
289 operation). It is zero if there is no agent lwp in the process.
290
291 pr_sigpend identifies asynchronous signals pending for the process.
292
293 pr_brkbase is the virtual address of the process heap and pr_brksize is
294 its size in bytes. The address formed by the sum of these values is the
295 process break (see brk(2)). pr_stkbase and pr_stksize are, respectively,
296 the virtual address of the process stack and its size in bytes. (Each
297 lwp runs on a separate stack; the distinguishing characteristic of the
298 process stack is that the operating system will grow it when necessary.)
299
300 pr_utime, pr_stime, pr_cutime, and pr_cstime are, respectively, the user
2012 NOTES
2013 Descriptions of structures in this document include only interesting
2014 structure elements, not filler and padding fields, and may show elements
2015 out of order for descriptive clarity. The actual structure definitions
2016 are contained in <procfs.h>.
2017
2018 BUGS
2019 Because the old ioctl(2)-based version of /proc is currently supported
2020 for binary compatibility with old applications, the top-level directory
2021 for a process, /proc/pid, is not world-readable, but it is world-
2022 searchable. Thus, anyone can open /proc/pid/psinfo even though ls(1)
2023 applied to /proc/pid will fail for anyone but the owner or an
2024 appropriately privileged process. Support for the old ioctl(2)-based
2025 version of /proc will be dropped in a future release, at which time the
2026 top-level directory for a process will be made world-readable.
2027
2028 On SPARC based machines, the types gregset_t and fpregset_t defined in
2029 <sys/regset.h> are similar to but not the same as the types prgregset_t
2030 and prfpregset_t defined in <procfs.h>.
2031
2032 illumos January 6, 2020 illumos
|
259 microstate accounting is enabled. However, this flag
260 has been deprecated and no longer has any effect.
261 Microstate accounting may not be disabled; however, it
262 is still possible to toggle the flag.
263
264 PR_MSFORK Set by default in all processes to indicate that
265 microstate accounting will be enabled for processes that
266 this parent fork(2)s. However, this flag has been
267 deprecated and no longer has any effect. It is possible
268 to toggle this flag; however, it is not possible to
269 disable microstate accounting.
270
271 PR_BPTADJ process has its breakpoint adjustment mode set (see
272 PCSET).
273
274 PR_PTRACE process has its ptrace-compatibility mode set (see
275 PCSET).
276
277 pr_nlwp is the total number of active lwps in the process. pr_nzomb is
278 the total number of zombie lwps in the process. A zombie lwp is a non-
279 detached lwp that has terminated but has not been reaped with
280 thr_join(3C) or pthread_join(3C).
281
282 pr_pid, pr_ppi, pr_pgid, and pr_sid are, respectively, the process ID,
283 the ID of the process's parent, the process's process group ID, and the
284 process's session ID.
285
286 pr_aslwpid is obsolete and is always zero.
287
288 pr_agentid is the lwp-ID for the /proc agent lwp (see the PCAGENT control
289 operation). It is zero if there is no agent lwp in the process.
290
291 pr_sigpend identifies asynchronous signals pending for the process.
292
293 pr_brkbase is the virtual address of the process heap and pr_brksize is
294 its size in bytes. The address formed by the sum of these values is the
295 process break (see brk(2)). pr_stkbase and pr_stksize are, respectively,
296 the virtual address of the process stack and its size in bytes. (Each
297 lwp runs on a separate stack; the distinguishing characteristic of the
298 process stack is that the operating system will grow it when necessary.)
299
300 pr_utime, pr_stime, pr_cutime, and pr_cstime are, respectively, the user
2012 NOTES
2013 Descriptions of structures in this document include only interesting
2014 structure elements, not filler and padding fields, and may show elements
2015 out of order for descriptive clarity. The actual structure definitions
2016 are contained in <procfs.h>.
2017
2018 BUGS
2019 Because the old ioctl(2)-based version of /proc is currently supported
2020 for binary compatibility with old applications, the top-level directory
2021 for a process, /proc/pid, is not world-readable, but it is world-
2022 searchable. Thus, anyone can open /proc/pid/psinfo even though ls(1)
2023 applied to /proc/pid will fail for anyone but the owner or an
2024 appropriately privileged process. Support for the old ioctl(2)-based
2025 version of /proc will be dropped in a future release, at which time the
2026 top-level directory for a process will be made world-readable.
2027
2028 On SPARC based machines, the types gregset_t and fpregset_t defined in
2029 <sys/regset.h> are similar to but not the same as the types prgregset_t
2030 and prfpregset_t defined in <procfs.h>.
2031
2032 illumos May 17, 2020 illumos
|