/proc

Map : '/proc'

Context

/proc The /proc directory stands for the process directory and contains sudo files which contains information about system processes and resources.

For example, when you use the following command in the terminal 'ps aux', a lot of the PID's will match with the directory structure. Note that this is not something you want to mess with!

Some practical examples;

  • show cpu info: cat /proc/cpuinfo

  • show memory info: cat /proc/meminfo

  • show uptime: cat /proc/uptime

  • show disk statistics: cat /proc/diskstats

Last updated