Wednesday, December 29, 2010

Understanding /proc File system

Understanding /proc File system:

Files that contain configuration information for all the devices connected to your computer are scattered throughout the "/proc" file system. The /proc file system also contains files full of information about system resources.


1. /proc/bus/usb: This file contains all info about USB (Universal Serial Bus) devices currently plugged into your system. USB devices like mice, cameras, and serial storage devices currently connected to your computer.

2. /proc/scsi/scsi: This file contains all information about every SCSI devices currently attached to your system.

3. /proc/cpuinfo: This file contains a collection of all information about the system’s CPU.

4. /proc/crypto: The /proc/crypto file contains information about the current encryption algorithms and digital signature tools installed on your system.

5. /proc/meminfo: This file contains a wealth of information about your system’s memory resources.

6. /proc/filesystems: This file contains information about the all file system types that can be mounted on your system. Check out "/proc/filesystems" to find out what kind of drives you can mount on your system. If ntfs isn’t in the list, you can’t mount Windows drives on your Linux box.

7. /proc/bus/pci/devices: This file contains all info about PCI cards connected to your system.

8. /proc/bus/input/devices : This file contains all info about input devices like, Keyboard, mouse, webcam etc.

9. /proc/mdstat : This file contains all info about RAID device.

10. /proc/modules : This file contains all info about all the loaded modules on Linux box.

11. /proc/partitions : This file contains all info about all the available partitions.

12. /proc/swaps : This will display info about currently assigned swap space.

13. /proc/version : Will show same output as of "uname -a" command i.e. info about kernel and architecture.

14. /proc/mounts : Will show you all the mounted partitions with their respected mount points, same as by "mount" command.

15. /proc/ide/drivers : This will display info about currently added IDE devices.

No comments:

Post a Comment