Sharing Knowledge | System Admin Articles

Proc File System - /proc files and its informations



/proc file system contains the informations about,


  • Kernel
  • Hardware
  • Running Process


All the files under /proc can be viewed by the cat command.
/proc/<PID> file contains the information about the running process which holds that Process ID –


These informations used by  the commands like ps and top to display the running process




For example, If you run the httpd service and it has 3992 process ID, Its information will be located in  /proc/<3992>


Some Important files under /Proc:








/proc/cpuinfo - contains the information about CPU.

/prc/mdstat - contains the information about RAID about md devices (used by  mdadm command) 



/proc/meminfo and /proc/swaps – Contain the information about memory usage and swap  usage (used by free and vmstat commands)


/proc/modules - Contains the list of modules. It can be viewed by the lsmod command.


/proc/mounts contain the mounted file system information 


/proc/partitions - Contains the partitions information 


/proc/net - contains the information about networking (Used by ifconfig and netstat ) 


/proc/version - Contains Linux kernel version (uname –v)


/proc/sys/kernel/hostname - contains system hostname


/proc/sys/net/ipv4/ip_forward -  You can make IP forwarding ON or OFF by editing this file. the same can be done with sysctl -w as well


Labels: Linux, Tips

My Profile PhotoAbout the Author

I'm Parthiban, An UNIX System Admin by Profession. I'm Experienced in Linux/Unix System Administration and Scripting. I have done lot of work on the infrastructure Mgmt side in Linux, UNIX and Windows system administration, Hardware, Storage and Data center. I'm blogging since 2008.
Follow Me On Twitter or On Facebook

0 Comments for "Proc File System - /proc files and its informations"

What do you think about this Article? Add your Opinion..!

Back To Top