summaryrefslogtreecommitdiff
path: root/static/freebsd/man4/linprocfs.4 3.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/freebsd/man4/linprocfs.4 3.html')
-rw-r--r--static/freebsd/man4/linprocfs.4 3.html164
1 files changed, 164 insertions, 0 deletions
diff --git a/static/freebsd/man4/linprocfs.4 3.html b/static/freebsd/man4/linprocfs.4 3.html
new file mode 100644
index 00000000..79a0d2e1
--- /dev/null
+++ b/static/freebsd/man4/linprocfs.4 3.html
@@ -0,0 +1,164 @@
+<table class="head">
+ <tr>
+ <td class="head-ltitle">LINPROCFS(4)</td>
+ <td class="head-vol">Device Drivers Manual</td>
+ <td class="head-rtitle">LINPROCFS(4)</td>
+ </tr>
+</table>
+<div class="manual-text">
+<section class="Sh">
+<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
+<p class="Pp"><code class="Nm">linprocfs</code> &#x2014; <span class="Nd">Linux
+ process file system</span></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
+<div class="Bd Li">
+<pre>linprocfs /compat/linux/proc linprocfs rw 0 0</pre>
+</div>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
+<p class="Pp">The Linux process file system, or
+ <code class="Nm">linprocfs</code>, emulates a subset of Linux' process file
+ system and is required for the complete operation of some Linux
+ binaries.</p>
+<p class="Pp">The <code class="Nm">linprocfs</code> provides a two-level view of
+ process space. At the highest level, processes themselves are named,
+ according to their process ids in decimal, with no leading zeros. There is
+ also a special node called <span class="Pa">self</span> which always refers
+ to the process making the lookup request.</p>
+<p class="Pp">Each process node is a directory containing several files:</p>
+<dl class="Bl-tag">
+ <dt><span class="Pa">auxv</span></dt>
+ <dd>The auxiliary vector passed to the program.</dd>
+ <dt><span class="Pa">cmdline</span></dt>
+ <dd>The command line used to execute the process.</dd>
+ <dt><span class="Pa">cwd</span></dt>
+ <dd>A symbolic link pointing to the current work directory of the
+ process.</dd>
+ <dt><span class="Pa">environ</span></dt>
+ <dd>The list of environment variables and values of the process. Every
+ variable and pair value is separated from the next by a NULL byte.</dd>
+ <dt><span class="Pa">exe</span></dt>
+ <dd>A reference to the vnode from which the process text was read. This can be
+ used to gain access to the process' symbol table, or to start another copy
+ of the process.</dd>
+ <dt><span class="Pa">limits</span></dt>
+ <dd>The soft and hard limits for the process along with the units used.</dd>
+ <dt><span class="Pa">maps</span></dt>
+ <dd>Memory map of the process.</dd>
+ <dt><span class="Pa">mem</span></dt>
+ <dd>The complete virtual memory image of the process. Only those addresses
+ which exist in the process can be accessed. Reads and writes to this file
+ modify the process. Writes to the text segment remain private to the
+ process.</dd>
+ <dt><span class="Pa">mountinfo</span></dt>
+ <dd>Information about mount points.</dd>
+ <dt><span class="Pa">mounts</span></dt>
+ <dd>Similar to the above.</dd>
+ <dt><span class="Pa">oom_score_adj</span></dt>
+ <dd>Score adjustment for the Out Of Memory killer.</dd>
+ <dt><span class="Pa">root</span></dt>
+ <dd>Symbolic link to the root directory for this process.</dd>
+ <dt><span class="Pa">stat</span></dt>
+ <dd>Process statistics. It includes user, nice, system, idle, iowait, irq,
+ softirq, steal, guest and guest_nice.</dd>
+ <dt><span class="Pa">statm</span></dt>
+ <dd>Process size statistics. It includes total program size, resident set
+ size, number of resident shared pages (unused), text size, library size
+ (unused), data + stack and dirty pages (unused).</dd>
+ <dt><span class="Pa">status</span></dt>
+ <dd>Process statistics in human readable form. It includes process name,
+ state, PID, etc.</dd>
+ <dt><span class="Pa">task</span></dt>
+ <dd>Dummy directory to avoid problems in specific software such as
+ Chromium.</dd>
+</dl>
+<p class="Pp">Each node is owned by the process's user, and belongs to that
+ user's primary group, except for the <span class="Pa">mem</span> node, which
+ belongs to the <code class="Li">kmem</code> group.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
+<dl class="Bl-tag Bl-compact">
+ <dt><span class="Pa">/compat/linux/proc</span></dt>
+ <dd>The normal mount point for <code class="Nm">linprocfs</code>.</dd>
+ <dt><span class="Pa">/compat/linux/proc/cmdline</span></dt>
+ <dd>Contains the path of the kernel image used to boot the system.</dd>
+ <dt><span class="Pa">/compat/linux/proc/cpuinfo</span></dt>
+ <dd>CPU vendor and model information in human-readable form.</dd>
+ <dt><span class="Pa">/compat/linux/proc/devices</span></dt>
+ <dd>List of character and block devices. The later is usually empty on
+ <span class="Ux">FreeBSD</span>.</dd>
+ <dt id="nodev"><span class="Pa">/compat/linux/proc/filesystems</span></dt>
+ <dd>List of supported filesystems. For pseudo filesystems, the first column
+ contains
+ <a class="permalink" href="#nodev"><i class="Em">nodev</i></a>.</dd>
+ <dt><span class="Pa">/compat/linux/proc/meminfo</span></dt>
+ <dd>System memory information in human-readable form.</dd>
+ <dt><span class="Pa">/compat/linux/proc/modules</span></dt>
+ <dd>Loaded kernel modules. Empty for now.</dd>
+ <dt><span class="Pa">/compat/linux/proc/mounts</span></dt>
+ <dd>Devices corresponding mount points.</dd>
+ <dt><span class="Pa">/compat/linux/proc/mtab</span></dt>
+ <dd>Same as above.</dd>
+ <dt><span class="Pa">/compat/linux/proc/partitions</span></dt>
+ <dd>Partition information including major and minor numbers, number of blocks
+ and name. The rest of the fields are set to zero.</dd>
+ <dt><span class="Pa">/compat/linux/proc/stat</span></dt>
+ <dd>System statistics. For each cpu it includes at most user time, nice time,
+ system time and idle time, iowait (time waiting for I/O to complete),
+ times serving irqs and softirq, steal, guest and guest_nice times that
+ represent times spent in different modes in a virtualized environment. The
+ last columns are set to zero. This file also contains brief statistics for
+ disks, context switches and more.</dd>
+ <dt><span class="Pa">/compat/linux/proc/swap</span></dt>
+ <dd>Information about the swap device if any.</dd>
+ <dt><span class="Pa">/compat/linux/proc/uptime</span></dt>
+ <dd>Time since the last boot and time spent in idle state.</dd>
+ <dt><span class="Pa">/compat/linux/proc/version</span></dt>
+ <dd>Version of the emulated linux system.</dd>
+ <dt><span class="Pa">/compat/linux/proc/</span>&#x27E8;<var class="Ar">pid</var>&#x27E9;</dt>
+ <dd>A directory containing process information for process
+ <var class="Ar">pid</var>.</dd>
+ <dt><span class="Pa">/compat/linux/proc/self</span></dt>
+ <dd>A symlink to a directory containing process information for the current
+ process.</dd>
+</dl>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
+<p class="Pp">To mount a <code class="Nm">linprocfs</code> file system on
+ <span class="Pa">/compat/linux/proc</span>:</p>
+<p class="Pp"></p>
+<div class="Bd Bd-indent"><code class="Li">mount -t linprocfs linprocfs
+ /compat/linux/proc</code></div>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
+ ALSO</a></h1>
+<p class="Pp"><a class="Xr">mount(2)</a>, <a class="Xr">unmount(2)</a>,
+ <a class="Xr">auxv(3)</a>, <a class="Xr">linux(4)</a>,
+ <a class="Xr">procfs(5)</a>, <a class="Xr">pseudofs(9)</a></p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
+<p class="Pp">The <code class="Nm">linprocfs</code> first appeared in
+ <span class="Ux">FreeBSD 4.0</span>.</p>
+</section>
+<section class="Sh">
+<h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
+<p class="Pp">The <code class="Nm">linprocfs</code> was derived from
+ <code class="Nm">procfs</code> by <span class="An">Pierre Beyssac</span>.
+ This manual page was written by <span class="An">Dag-Erling
+ Sm&#x00F8;rgrav</span>, based on the <a class="Xr">procfs(5)</a> manual page
+ by <span class="An">Garrett Wollman</span>.</p>
+</section>
+</div>
+<table class="foot">
+ <tr>
+ <td class="foot-date">December 26, 2025</td>
+ <td class="foot-os">FreeBSD 15.0</td>
+ </tr>
+</table>