procfs.5 (20243) | procfs.5 (20456) |
---|---|
1.\" $Id: procfs.5,v 1.2 1994/08/10 20:03:54 wollman Exp $ | 1.\" $Id: procfs.5,v 1.3 1996/12/09 07:45:50 mpp Exp $ |
2.\" Written by Garrett Wollman 3.\" This file is in the public domain. 4.\" 5.Dd August 10, 1994 6.Dt PROCFS 5 7.Os BSD 4.4 8.Sh NAME 9.Nm procfs --- 22 unchanged lines hidden (view full) --- 32At the highest level, processes themselves are named, according to 33their process ids in decimal, with no leading zeros. There is also a 34special node called 35.Pa curproc 36which always refers to the process making the lookup request. 37.Pp 38Each node is a directory which contains the following entries: 39.Bl -tag -width fpregsxx | 2.\" Written by Garrett Wollman 3.\" This file is in the public domain. 4.\" 5.Dd August 10, 1994 6.Dt PROCFS 5 7.Os BSD 4.4 8.Sh NAME 9.Nm procfs --- 22 unchanged lines hidden (view full) --- 32At the highest level, processes themselves are named, according to 33their process ids in decimal, with no leading zeros. There is also a 34special node called 35.Pa curproc 36which always refers to the process making the lookup request. 37.Pp 38Each node is a directory which contains the following entries: 39.Bl -tag -width fpregsxx |
40.It Pa file 41the executable image (not currently implemented) 42.It Pa status 43the process's current status | |
44.It Pa ctl 45used to send control messages to the process, such as might be used by 46a debugger | 40.It Pa ctl 41used to send control messages to the process, such as might be used by 42a debugger |
43.It Pa etype 44the type of the current executable image 45.It Pa file 46the executable image 47.It Pa fpregs 48the process floating point register set 49.It Pa map 50map of the process' address space |
|
47.It Pa mem 48the complete virtual address space of the process 49.It Pa note 50used to send signals to the process (not currently implemented) 51.It Pa notepg 52used to send signals to the process group that the process belongs to 53(not currently implemented) 54.It Pa regs 55the process register set | 51.It Pa mem 52the complete virtual address space of the process 53.It Pa note 54used to send signals to the process (not currently implemented) 55.It Pa notepg 56used to send signals to the process group that the process belongs to 57(not currently implemented) 58.It Pa regs 59the process register set |
60.It Pa status 61the process's current status |
|
56.El 57.Pp 58Each node is owned by the process's user, and belongs to that user's 59primary group, except for the 60.Pa mem 61node, which belongs to the 62.Li kmem | 62.El 63.Pp 64Each node is owned by the process's user, and belongs to that user's 65primary group, except for the 66.Pa mem 67node, which belongs to the 68.Li kmem |
63group instead. (This is not yet true, but will be eventually.) | 69group instead. |
64.Pp 65This manual page should eventually document what you can do with all 66these nodes. 67.Sh FILES 68.Bl -tag -width /procxx 69.It Pa /proc 70normal mount point for the 71.Nm procfs . 72.El 73.Sh AUTHOR 74This manual page written by Garrett Wollman, based on the description 75provided by Jan-Simon Pendry. | 70.Pp 71This manual page should eventually document what you can do with all 72these nodes. 73.Sh FILES 74.Bl -tag -width /procxx 75.It Pa /proc 76normal mount point for the 77.Nm procfs . 78.El 79.Sh AUTHOR 80This manual page written by Garrett Wollman, based on the description 81provided by Jan-Simon Pendry. |