Deleted Added
full compact
procfs.5 (37247) procfs.5 (46201)
1.\" $Id: procfs.5,v 1.9 1998/03/12 07:30:48 charnier Exp $
1.\" $Id: procfs.5,v 1.10 1998/06/28 21:33:42 hoek 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

--- 94 unchanged lines hidden (view full) ---

104.It Pa regs
105Allows read and write access to the process' register set.
106This file contains a binary data structure
107.Dv "struct regs"
108defined in
109.Pa <machine/reg.h> .
110.Pa regs
111can only be written when the process is stopped.
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

--- 94 unchanged lines hidden (view full) ---

104.It Pa regs
105Allows read and write access to the process' register set.
106This file contains a binary data structure
107.Dv "struct regs"
108defined in
109.Pa <machine/reg.h> .
110.Pa regs
111can only be written when the process is stopped.
112.It Pa rlimit
113This is a read-only file containing the process current and maximum
114limits. Each line is of the format
115.Ar rlimit current max
116, with -1
117indicating infinity.
112.It Pa status
113The process status.
114This file is read-only and returns a single line containing
115multiple space-separated fields as follows:
116.Pp
117.Bl -bullet -compact
118.It
119command name

--- 67 unchanged lines hidden (view full) ---

187.It Pa /proc
188normal mount point for the
189.Nm procfs .
190.It Pa /proc/pid
191directory containing process information for process
192.Pa pid .
193.It Pa /proc/curproc
194directory containing process information for the current process
118.It Pa status
119The process status.
120This file is read-only and returns a single line containing
121multiple space-separated fields as follows:
122.Pp
123.Bl -bullet -compact
124.It
125command name

--- 67 unchanged lines hidden (view full) ---

193.It Pa /proc
194normal mount point for the
195.Nm procfs .
196.It Pa /proc/pid
197directory containing process information for process
198.Pa pid .
199.It Pa /proc/curproc
200directory containing process information for the current process
201.It Pa /proc/curproc/cmdline
202the process executable name
195.It Pa /proc/curproc/ctl
196used to send control messages to the process
197.It Pa /proc/curproc/etype
198executable type
199.It Pa /proc/curproc/file
200executable image
201.It Pa /proc/curproc/fpregs
202the process floating point register set
203.It Pa /proc/curproc/map
204virtual memory map of the process
205.It Pa /proc/curproc/mem
206the complete virtual address space of the process
207.It Pa /proc/curproc/note
208used for signaling the process
209.It Pa /proc/curproc/notepg
210used for signaling the process group
211.It Pa /proc/curproc/regs
212the process register set
203.It Pa /proc/curproc/ctl
204used to send control messages to the process
205.It Pa /proc/curproc/etype
206executable type
207.It Pa /proc/curproc/file
208executable image
209.It Pa /proc/curproc/fpregs
210the process floating point register set
211.It Pa /proc/curproc/map
212virtual memory map of the process
213.It Pa /proc/curproc/mem
214the complete virtual address space of the process
215.It Pa /proc/curproc/note
216used for signaling the process
217.It Pa /proc/curproc/notepg
218used for signaling the process group
219.It Pa /proc/curproc/regs
220the process register set
221.It Pa /proc/curproc/rlimit
222the process current and maximum rlimit
213.It Pa /proc/curproc/status
214the process' current status
215.El
216.Sh SEE ALSO
217.Xr mount 2 ,
218.Xr sigaction 2 ,
219.Xr unmount 2 ,
220.Xr mount_procfs 8
221.Sh AUTHORS
222This manual page written by
223.An Garrett Wollman ,
224based on the description
225provided by
226.An Jan-Simon Pendry ,
227and revamped later by
228.An Mike Pritchard .
223.It Pa /proc/curproc/status
224the process' current status
225.El
226.Sh SEE ALSO
227.Xr mount 2 ,
228.Xr sigaction 2 ,
229.Xr unmount 2 ,
230.Xr mount_procfs 8
231.Sh AUTHORS
232This manual page written by
233.An Garrett Wollman ,
234based on the description
235provided by
236.An Jan-Simon Pendry ,
237and revamped later by
238.An Mike Pritchard .