The proc filesystem is a virtual filesystem through which kernels of Unix-like operating systems, including Linux, expose process and kernel information. It is commonly mounted at /proc and implements a view of the system process table inside the file system. It provides a two-level view of process space.
Procfs, also known as the proc filesystem, is a virtual filesystem normally mounted at /proc
. The details vary between unix variants, but on most, /proc/PID
is a file or a directory that exposes information about the running process whose id is PID.
In addition, /proc
can expose information about other aspects on the system. Linux, in particular, exposes information about mounted filesystems, network status, connected devices and more. This use is partly phased out in favor of the newer sysfs.