Deleted Added
full compact
linprocfs.5 (79538) linprocfs.5 (79727)
1.\" $FreeBSD: head/share/man/man5/linprocfs.5 79538 2001-07-10 15:31:11Z ru $
1.\" $FreeBSD: head/share/man/man5/linprocfs.5 79727 2001-07-14 19:41:16Z schweikh $
2.\" Written by Garrett Wollman
3.\" This file is in the public domain.
4.\"
5.Dd August 10, 1994
6.Dt LINPROCFS 5
7.Os
8.Sh NAME
9.Nm linprocfs
10.Nd Linux process file system
11.Sh SYNOPSIS
12.Bd -literal
13linproc /compat/linux/proc linprocfs rw 0 0
14.Ed
15.Sh DESCRIPTION
16The Linux process file system, or
17.Nm ,
18emulates a subset of Linux' process file system and is required for
19the complete operation of some Linux binaries.
20.Pp
21The
22.Nm
23provides a two-level view of process space.
24At the highest level, processes themselves are named, according to
25their process ids in decimal, with no leading zeros. There is also a
26special node called
27.Pa self
28which always refers to the process making the lookup request.
29.Pp
30Each node is a directory which contains the following entries:
31.Pp
32Each directory contains several files:
33.Bl -tag -width status
34.It Pa exe
35A reference to the vnode from which the process text was read.
36This can be used to gain access to the process' symbol table,
37or to start another copy of the process.
38.It Pa mem
39The complete virtual memory image of the process.
40Only those addresses which exist in the process can be accessed.
41Reads and writes to this file modify the process.
42Writes to the text segment remain private to the process.
43.El
44.Pp
45Each node is owned by the process's user, and belongs to that user's
46primary group, except for the
47.Pa mem
48node, which belongs to the
49.Li kmem
50group.
51.Sh FILES
52.Bl -tag -width /compat/linux/proc/self/XXXXXXX -compact
53.It Pa /compat/linux/proc
54normal mount point for the
55.Nm .
56.It Pa /compat/linux/proc/cpuinfo
57CPU vendor and model information in human-readable form.
58.It Pa /compat/linux/proc/meminfo
59System memory information in human-readable form.
60.It Pa /compat/linux/proc/pid
2.\" Written by Garrett Wollman
3.\" This file is in the public domain.
4.\"
5.Dd August 10, 1994
6.Dt LINPROCFS 5
7.Os
8.Sh NAME
9.Nm linprocfs
10.Nd Linux process file system
11.Sh SYNOPSIS
12.Bd -literal
13linproc /compat/linux/proc linprocfs rw 0 0
14.Ed
15.Sh DESCRIPTION
16The Linux process file system, or
17.Nm ,
18emulates a subset of Linux' process file system and is required for
19the complete operation of some Linux binaries.
20.Pp
21The
22.Nm
23provides a two-level view of process space.
24At the highest level, processes themselves are named, according to
25their process ids in decimal, with no leading zeros. There is also a
26special node called
27.Pa self
28which always refers to the process making the lookup request.
29.Pp
30Each node is a directory which contains the following entries:
31.Pp
32Each directory contains several files:
33.Bl -tag -width status
34.It Pa exe
35A reference to the vnode from which the process text was read.
36This can be used to gain access to the process' symbol table,
37or to start another copy of the process.
38.It Pa mem
39The complete virtual memory image of the process.
40Only those addresses which exist in the process can be accessed.
41Reads and writes to this file modify the process.
42Writes to the text segment remain private to the process.
43.El
44.Pp
45Each node is owned by the process's user, and belongs to that user's
46primary group, except for the
47.Pa mem
48node, which belongs to the
49.Li kmem
50group.
51.Sh FILES
52.Bl -tag -width /compat/linux/proc/self/XXXXXXX -compact
53.It Pa /compat/linux/proc
54normal mount point for the
55.Nm .
56.It Pa /compat/linux/proc/cpuinfo
57CPU vendor and model information in human-readable form.
58.It Pa /compat/linux/proc/meminfo
59System memory information in human-readable form.
60.It Pa /compat/linux/proc/pid
61directory containing process information for process
61directory containing process information for process
62.Pa pid .
63.It Pa /compat/linux/proc/self
64directory containing process information for the current process
65.It Pa /compat/linux/proc/self/exe
66executable image
67.It Pa /compat/linux/proc/self/mem
68the complete virtual address space of the process
69.El
70.Sh SEE ALSO
71.Xr mount 2 ,
72.Xr unmount 2 ,
73.Xr procfs 5 ,
74.Xr mount_linprocfs 8
75.Sh AUTHORS
76.An -nosplit
77The
78.Nm
79was derived from
80.Nm procfs
81by
82.An Pierre Beyssac .
83This manual page was written by
84.An Dag-Erling Sm\(/orgrav ,
85based on the
86.Xr procfs 5
87manual page by
88.An Garrett Wollman .
89.Sh HISTORY
90The
91.Nm
92first appeared in
93.Fx 4.0 .
62.Pa pid .
63.It Pa /compat/linux/proc/self
64directory containing process information for the current process
65.It Pa /compat/linux/proc/self/exe
66executable image
67.It Pa /compat/linux/proc/self/mem
68the complete virtual address space of the process
69.El
70.Sh SEE ALSO
71.Xr mount 2 ,
72.Xr unmount 2 ,
73.Xr procfs 5 ,
74.Xr mount_linprocfs 8
75.Sh AUTHORS
76.An -nosplit
77The
78.Nm
79was derived from
80.Nm procfs
81by
82.An Pierre Beyssac .
83This manual page was written by
84.An Dag-Erling Sm\(/orgrav ,
85based on the
86.Xr procfs 5
87manual page by
88.An Garrett Wollman .
89.Sh HISTORY
90The
91.Nm
92first appeared in
93.Fx 4.0 .