proc(5) File Formats Manual proc(5) proc - process information, system information, and sysctl pseudo-filesystem proc -- - , . , /proc , : mount -t proc proc /proc proc , , . proc : hidepid=n (since Linux 3.3) /proc/pid. n : 0 /proc/pid. , , . 1 /proc/pid ( /proc/pid ). /proc/pid/cmdline /proc/pid/status . ( , ). 2 1, /proc/pid, , . , /proc/pid PID . , PID ( , , <>), UID GID , stat(2) /proc/pid. (, , , , - ). gid=gid (since Linux 3.3) ID , hidepid, (. . , /proc hidepid=0). sudoers(5) . subset=pid (since Linux 5.8) Show only the specified subset of procfs, hiding all top level files and directories in the procfs that are not related to tasks. /proc : /proc/pid , ID . /proc/pid task, task/tid, , tid -- ID . /proc/pid /proc getdents(2) ( ls(1), /proc). /proc/tid ID . /proc/pid/task/tid. /proc/tid /proc getdents(2) ( ls(1), /proc). /proc/self , /proc/pid . /proc/thread-self , /proc/self/task/tid . /proc/[a-z]* /proc . All of the above are described in more detail in separate manpages whose names start with proc_. Many files contain strings (e.g., the environment and command line) that are in the internal format, with subfields terminated by null bytes ('\0'). When inspecting such files, you may find that the results are more readable if you use a command of the following form to display them: $ cat file | tr '\000' '\n' cat(1), dmesg(1), find(1), free(1), htop(1), init(1), ps(1), pstree(1), tr(1), uptime(1), chroot(2), mmap(2), readlink(2), syslog(2), slabinfo(5), sysfs(5), hier(7), namespaces(7), time(7), arp(8), hdparm(8), ifconfig(8), lsmod(8), lspci(8), mount(8), netstat(8), procinfo(8), route(8), sysctl(8) Linux: Documentation/filesystems/proc.rst, Documentation/admin-guide/sysctl/fs.rst, Documentation/admin-guide/sysctl/kernel.rst, Documentation/admin-guide/sysctl/net.rst Documentation/admin-guide/sysctl/vm.rst. () Alexey, Azamat Hackimov , kogamatranslator49 , Darima Kogan , Max Is , Yuri Kozlov , Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux man-pages 6.12 15 2024 . proc(5)