Tuesday, June 12, 2012

Simple way to gather system and kernel informations from your Unix / Linux system

The Proc File System can be used to gather useful information about the system and the running kernel.
Some of the important files are listed below

  • /proc/cpuinfo - information about the CPU (model, family, cache size etc.)
  • /proc/meminfo - information about the physical RAM, Swap space etc.
  • /proc/mounts - list of mounted file systems
  • /proc/devices - list of available devices
  • /proc/filesystems - supported file systems
  • /proc/modules - list of loaded modules
  • /proc/version - Kernel version
  • /proc/cmdline - parameters passed to the kernel at the time of starting

No comments:

Post a Comment