whatis proc-filesystem

/proc

Also known as: procfs, proc filesystem

A virtual filesystem the kernel generates on the fly, exposing live information about processes and system state as readable files.

What Is /proc in Linux?

Nothing in /proc is stored on disk. Each running process has a directory named after its PID with its command line, open files, memory maps, and status. System-wide files like /proc/cpuinfo, /proc/meminfo, and /proc/loadavg report hardware and load.

Tools like ps, top, and free are mostly friendly front ends for /proc. The writable /proc/sys/ tree holds kernel tunables that sysctl reads and changes.

Example

cat /proc/loadavg
ls /proc/$$/fd