◄ Wiki / OS
/proc
A fake filesystem that lets you read live kernel state as if it were ordinary files.
/proc is a virtual filesystem: its 'files' are generated on the fly by the kernel rather than stored on disk. Reading them exposes the running system's internals — processes, memory, hardware — so userspace programs can inspect the kernel with normal file operations. It turns the otherwise opaque kernel into something you can simply query.
See also
- /proc/faultsA live file that reports program faults, including the exact code location that failed.
- kernelThe core program of an operating system that controls memory, running programs, and hardware.
- address spaceThe private map of memory addresses a process is allowed to use.