From nobody Thu Jan 1 12:38:45 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dhmb94P6yz6M7CH for ; Thu, 01 Jan 2026 12:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dhmb91v30z3rKC for ; Thu, 01 Jan 2026 12:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767271125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IkHCxqpydSSP6z0j1rfTTC31v1FWRTpQ7L+WiiGljyQ=; b=qu8tjeHv9sN9/9GGnhLe6Xyn0HMqCE/+SNJimL7swtX+8uP5i4SIFYuAva83uAsgz+qfcO X8ojA2AFkLTJ3X9HsXkvfVZoJ6aL5fTeg4co4GE9V50LNAFf9npkUbniBqKxiLoZDx3pjN 2Qlpx7BC8PhOqMIOau6Po/apOugeePIJFMN1rFWT+Pr9PwrK4u8XdB5Kws9IiKaN05G6ze LwPNpnShzxqwCq0iGThpOQYiAImT5xjM32VwqHSctzJm+G6S/RLOfru2MT/PwwAogjl+xz /arsiw8zWxcmvvBYi1ZkWiXwenfomNPklYXA/dh2mPjK00+1gOvkvxm1rWFVqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767271125; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IkHCxqpydSSP6z0j1rfTTC31v1FWRTpQ7L+WiiGljyQ=; b=MGvLYIG0u1YXPJhFw7txcSGlR57Ez48zvLdSr1/ChFN/aN4iv+IvR4ffM5qnyw4W6gQQPJ U3SY0KWVThaDdXGijd//UR3X3Njm1N1t8pazsuZsvbBy51f4W+qPrzfBb8t10VtAhu78zR b+4FhlirPU7uEN5WuB/Ss7RV8hlFJ1/oOGY04KfkYpFroJJSCHD0Ltmdfwjxj/XuQ+ABxz FQjtDoAregcN57vRoK9QCsAmNeP8dvv+k6uDvgLKcohcgL5ocZxZ9moUuW3tMj1MbsTv6C aLmSKqUVK8TayERtfs2twQRJQt3Ydu30mHZeWvfMVWoxSPz/uWHq9Y/ATLJXnA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767271125; a=rsa-sha256; cv=none; b=D7cXpMHbsINIyoo14fGN3w9pFRZxQkD/Rs+URkHCIugQccL/uZl6xvbvafHwYKCoyd3/O7 JtQ7FlN9Vm7jxxbUiSilNJbr3dDvWEVhvhsEGj9GIH4caNl8IOz+xy6ZZHkCYimFtr5aOI brapXVu6JjXd4sbyOtQu04653gffkNxhXYXXB6wPzJkFloT9FgzxPFlLM9Ghg1ZkYbXfPl xD+CNKj9CQEZ8dTIlPMTTPOLsR0zZ5kSGrfnFDXFCYfmmCzPir7tLkD3U5u6VJBkws71fM mbGAZPJfWuQ0CP5fvMshS35dAJmThKifEYrC8Bc3Z6WiQbMlNoMVTLb7b4y6vg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dhmb91ShRzY2j for ; Thu, 01 Jan 2026 12:38:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 344bb by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 01 Jan 2026 12:38:45 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Osipov Subject: git: 3f41c92c6b27 - stable/13 - linprocfs.5: Synchronize style and format with 15-STABLE List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: michaelo X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3f41c92c6b27c8e1110dec8d52d16bd3a16a9cb0 Auto-Submitted: auto-generated Date: Thu, 01 Jan 2026 12:38:45 +0000 Message-Id: <69566ad5.344bb.481931df@gitrepo.freebsd.org> The branch stable/13 has been updated by michaelo: URL: https://cgit.FreeBSD.org/src/commit/?id=3f41c92c6b27c8e1110dec8d52d16bd3a16a9cb0 commit 3f41c92c6b27c8e1110dec8d52d16bd3a16a9cb0 Author: Michael Osipov AuthorDate: 2025-12-29 20:49:49 +0000 Commit: Michael Osipov CommitDate: 2026-01-01 12:38:18 +0000 linprocfs.5: Synchronize style and format with 15-STABLE This is a logical backport of 1d193b1808098328d3ad16b436a329b258935e0c including the changes happended after that. Reviewed by: fernape Differential Revision: https://reviews.freebsd.org/D54411 --- share/man/man5/linprocfs.5 | 89 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 81 insertions(+), 8 deletions(-) diff --git a/share/man/man5/linprocfs.5 b/share/man/man5/linprocfs.5 index 568d4dcd9d14..bcd8587eb76c 100644 --- a/share/man/man5/linprocfs.5 +++ b/share/man/man5/linprocfs.5 @@ -1,7 +1,7 @@ .\" Written by Garrett Wollman .\" This file is in the public domain. .\" -.Dd November 13, 2019 +.Dd December 26, 2025 .Dt LINPROCFS 5 .Os .Sh NAME @@ -26,17 +26,53 @@ There is also a special node called .Pa self which always refers to the process making the lookup request. .Pp -Each node is a directory containing several files: -.Bl -tag -width status +Each process node is a directory containing several files: +.Bl -tag -width oom_score_adj +.It Pa auxv +The auxiliary vector passed to the program. +.It Pa cmdline +The command line used to execute the process. +.It Pa cwd +A symbolic link pointing to the current work directory of the process. +.It Pa environ +The list of environment variables and values of the process. +Every variable and pair value is separated from the next by a NULL byte. .It Pa exe 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. +.It Pa limits +The soft and hard limits for the process along with the units used. +.It Pa maps +Memory map of the process. .It Pa mem 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. +.It Pa mountinfo +Information about mount points. +.It Pa mounts +Similar to the above. +.It Pa oom_score_adj +Score adjustment for the Out Of Memory killer. +.It Pa root +Symbolic link to the root directory for this process. +.It Pa stat +Process statistics. +It includes user, nice, system, idle, iowait, irq, softirq, +steal, guest and guest_nice. +.It Pa statm +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). +.It Pa status +Process statistics in human readable form. +It includes process name, state, PID, +etc. +.It Pa task +Dummy directory to avoid problems in specific software such as Chromium. .El .Pp Each node is owned by the process's user, and belongs to that user's @@ -46,19 +82,55 @@ node, which belongs to the .Li kmem group. .Sh FILES -.Bl -tag -width /compat/linux/proc/self/XXXXXXX -compact +.Bl -tag -width /compat/linux/proc/filesystems -compact .It Pa /compat/linux/proc -The normal mount point for the +The normal mount point for .Nm . +.It Pa /compat/linux/proc/cmdline +Contains the path of the kernel image used to boot the system. .It Pa /compat/linux/proc/cpuinfo CPU vendor and model information in human-readable form. +.It Pa /compat/linux/proc/devices +List of character and block devices. +The latter is usually empty on +.Fx . +.It Pa /compat/linux/proc/filesystems +List of supported filesystems. +For pseudo filesystems, the first column contains +.Em nodev . .It Pa /compat/linux/proc/meminfo System memory information in human-readable form. -.It Pa /compat/linux/proc/pid +.It Pa /compat/linux/proc/modules +Loaded kernel modules. +Empty for now. +.It Pa /compat/linux/proc/mounts +Devices corresponding mount points. +.It Pa /compat/linux/proc/mtab +Same as above. +.It Pa /compat/linux/proc/partitions +Partition information including major and minor numbers, number of blocks and +name. +The rest of the fields are set to zero. +.It Pa /compat/linux/proc/stat +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. +.It Pa /compat/linux/proc/swap +Information about the swap device if any. +.It Pa /compat/linux/proc/uptime +Time since the last boot and time spent in idle state. +.It Pa /compat/linux/proc/version +Version of the emulated linux system. +.It Pa /compat/linux/proc/ Ns Ao Ar pid Ac A directory containing process information for process -.Pa pid . +.Ar pid . .It Pa /compat/linux/proc/self -A directory containing process information for the current process. +A symlink to a directory containing process information for the current process. .It Pa /compat/linux/proc/self/exe The executable image for the current process. .It Pa /compat/linux/proc/self/mem @@ -74,6 +146,7 @@ file system on .Sh SEE ALSO .Xr mount 2 , .Xr unmount 2 , +.Xr auxv 3 , .Xr linux 4 , .Xr procfs 5 , .Xr pseudofs 9