The proc filesystem is a filesystem that "represents" the kernel.
It gives us information about running processes, memory,...
Displaying the memory:
To display all the filesystem types supported by a system, we use:
Network information :
We could find network information in the "net" subfolder. It provides a view over different networking parameters:
Displaying the Linux version:
To display the Linux version, we use:
All these numbers above are directories that represent different process IDs.
For example, if we go inside the directory "1" which represents the first process to start on the machine, we find the below directories:
For example in the "limits" file, we find:
We can get that information either by looking into:
Or, we could achieve the same thing using:
The "Writable" kernel parameters:
We can find the writable parameters in the below directory:
We find the same elements above as files when we check "/proc/sys/kernel".
For example, we can find the same element "acct" in the below folder:
Most of the parameters in the "proc filesystem" are read-only.