Linux - (Proc|Process) Filesystem (procfs)

About

procfs (or the proc filesystem) is a special filesystem in UNIX-like operating systems that presents performance metrics about linux processes and other system information in a hierarchical file-like structure

The Linux monitoring tools such as top use it.

Directory Layout

The /proc “file system” is a directory that contains a hierarchy of files that represent the current state of the Linux kernel. It allows users and applications to see the kernel's view of the system.

The /proc directory also contains information about system hardware and any currently running processes. Most files in the /proc file system are read-only, but some files (primarily those in /proc/sys) can be manipulated by users and applications to communicate configuration changes to the kernel.

Documentation / Reference





Discover More
File System Hierarchy Standard (FHS)

The Filesystem Hierarchy Standard (FHS) is a collaborative document that defines the names and locations of many...
Linux - (Huge|Large) pages

Large page also known as “huge pages”. If large pages are supported by the kernel, there should be special files in the /proc directory that indicate the number and size of the large pages. Since...
Linux - Process

in linux With the ps utility How to get the PID (process identification number) of a process ( $$ pgrep Function example Priority gives the process more or less CPU time than...
Linux - Shared Memory (SHM) (/dev/shm)

Shared memory (SHM) in Linux. The shared memory system can also be used to set permissions on memory. There are two different types of shared memory implementations: System V IPC, and BSD mmap....
Bash Liste Des Attaques Ovh
Linux - ps (process statut)

Report a snapshot of the current processes. top This ps works by reading the virtual files in /proc. To print a process tree: Sort where the flag: -e selects every process -f...
Map Of Internet 1973
Network - Monitoring

Monitoring (ie reading performance metrics op interval) For traffic capturing, see raboof/nethogsnethogs. NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or...
Undraw File Manager Re Ms29
Pipe

pipe are file descriptor used for pipe communication between process (used for inter-process communication) pipe is the basic block of pipeline (stream) communication on the operating system. Creation...
Linux Performance Tools
What are the Metrics / Counters of Linux ?

This page is about the Hardware / Resource Performance Metrics management. They helps monitor the Linux System.



Share this page:
Follow us:
Task Runner