Quick Start Guide

DescriptionFile
Displays memory status.
/proc/meminfo
Displays the individual modules.
/proc/modules
Displays devices currently mounted.
/proc/mounts
Shows the partitioning of all hard disks.
/proc/partitions
Displays the current version of Linux.
/proc/version
Apart from the /proc le system, the Linux kernel exports information with the sysfs
module, an in-memory lesystem. This module represents kernel objects, their at-
tributes and relationships. For more information about sysfs, see the context of udev
in Chapter 19, Dynamic Kernel Device Management with
udev
(↑Reference). Table 9.3
contains an overview of the most common directories under /sys.
Table 9.3 System Information With the /sys File System
DescriptionFile
Contains subdirectories for each block device discovered
in the system. Generally, these are mostly disk type de-
vices.
/sys/block
Contains subdirectories for each physical bus type.
/sys/bus
Contains subdirectories grouped together as a functional
types of devices (like graphics, net, printer, etc.)
/sys/class
Contains the global device hierarchy.
/sys/device
Linux comes with a number of tools for system analysis and monitoring. See Chap-
ter 13, System Monitoring Utilities (↑Reference) for a selection of the most important
ones used in system diagnostics.
Each of the following scenarios begins with a header describing the problem followed
by a paragraph or two oering suggested solutions, available references for more
detailed solutions, and cross-references to other scenarios that are related.
Common Problems and Their Solutions 131