Product SiteDocumentation Site

Part V. Monitoring and Automation

This part describes various tools that allow system administrators to monitor system performance, automate system tasks, and report bugs.

Table of Contents

16. System Monitoring Tools
16.1. Viewing System Processes
16.1.1. Using the ps Command
16.1.2. Using the top Command
16.1.3. Using the System Monitor Tool
16.2. Viewing Memory Usage
16.2.1. Using the free Command
16.2.2. Using the System Monitor Tool
16.3. Viewing CPU Usage
16.3.1. Using the System Monitor Tool
16.4. Viewing Block Devices and File Systems
16.4.1. Using the lsblk Command
16.4.2. Using the blkid Command
16.4.3. Using the partx Command
16.4.4. Using the findmnt Command
16.4.5. Using the df Command
16.4.6. Using the du Command
16.4.7. Using the System Monitor Tool
16.5. Viewing Hardware Information
16.5.1. Using the lspci Command
16.5.2. Using the lsusb Command
16.5.3. Using the lspcmcia Command
16.5.4. Using the lscpu Command
16.6. Monitoring Performance with Net-SNMP
16.6.1. Installing Net-SNMP
16.6.2. Running the Net-SNMP Daemon
16.6.3. Configuring Net-SNMP
16.6.4. Retrieving Performance Data over SNMP
16.6.5. Extending Net-SNMP
16.7. Additional Resources
16.7.1. Installed Documentation
17. Viewing and Managing Log Files
17.1. Configuring rsyslog
17.1.1. Global Directives
17.1.2. Modules
17.1.3. Rules
17.1.4. rsyslog Command Line Configuration
17.2. Locating Log Files
17.2.1. Configuring logrotate
17.3. Viewing Log Files
17.4. Adding a Log File
17.5. Monitoring Log Files
17.6. Additional Resources
17.6.1. Installed Documentation
17.6.2. Useful Websites
18. Automating System Tasks
18.1. Cron and Anacron
18.1.1. Starting and Stopping the Service
18.1.2. Configuring Anacron Jobs
18.1.3. Configuring Cron Jobs
18.1.4. Controlling Access to Cron
18.1.5. Black/White Listing of Cron Jobs
18.2. At and Batch
18.2.1. Configuring At Jobs
18.2.2. Configuring Batch Jobs
18.2.3. Viewing Pending Jobs
18.2.4. Additional Command Line Options
18.2.5. Controlling Access to At and Batch
18.2.6. Starting and Stopping the Service
18.3. Additional Resources
18.3.1. Installed Documentation
19. OProfile
19.1. Overview of Tools
19.2. Configuring OProfile
19.2.1. Specifying the Kernel
19.2.2. Setting Events to Monitor
19.2.3. Separating Kernel and User-space Profiles
19.3. Starting and Stopping OProfile
19.4. Saving Data
19.5. Analyzing the Data
19.5.1. Using opreport
19.5.2. Using opreport on a Single Executable
19.5.3. Getting more detailed output on the modules
19.5.4. Using opannotate
19.6. Understanding /dev/oprofile/
19.7. Example Usage
19.8. OProfile Support for Java
19.8.1. Profiling Java Code
19.9. Graphical Interface
19.10. OProfile and SystemTap
19.11. Additional Resources
19.11.1. Installed Docs
19.11.2. Useful Websites