Skip to main content

Menu

LEVEL 0
0/5 XP
HomeAboutTopicsPricingMy VaultStats

Categories

πŸ€– Artificial Intelligence
☁️ Cloud and Infrastructure
πŸ’Ύ Data and Databases
πŸ’Ό Professional Skills
🎯 Programming and Development
πŸ”’ Security and Networking
πŸ“š Specialized Topics
HomeAboutTopicsPricingMy VaultStats
LEVEL 0
0/5 XP
GitHub
Β© 2026 CheatGridβ„’. All rights reserved.
Privacy PolicyTerms of UseAboutContact

System Monitoring Cheat Sheet

System Monitoring Cheat Sheet

Back to Operating Systems and CLI
Updated 2026-05-25
Next Topic: systemd and Linux Service Management Cheat Sheet

System monitoring in Linux and Unix environments encompasses real-time observation and historical analysis of system resources β€” CPU, memory, disk, network, and processes. From basic utilities like top and ps that ship with every distribution, to modern interactive tools like htop and btop, monitoring helps identify bottlenecks, diagnose failures, and optimize performance. Understanding load average (runnable + uninterruptible processes over 1, 5, and 15 minutes) differs from instantaneous CPU usage β€” the former reveals sustained pressure, the latter shows a snapshot. A key insight: iowait is not CPU time lost to waiting β€” it's idle time during which at least one I/O operation was pending, meaning high iowait with low CPU usage often indicates disk or network bottlenecks, not CPU saturation.

What This Cheat Sheet Covers

This topic spans 15 focused tables and 100 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.

Table 1: Core Process Monitoring CommandsTable 2: Process Management and SignalsTable 3: CPU Monitoring and LoadTable 4: Memory MonitoringTable 5: Disk I/O MonitoringTable 6: Network MonitoringTable 7: System Activity ReportersTable 8: Process States and PrioritiesTable 9: Logging and System MessagesTable 10: User and Session MonitoringTable 11: Specialized Monitoring ToolsTable 12: Advanced Profiling and TracingTable 13: Temperature and Hardware SensorsTable 14: Container and cgroup MonitoringTable 15: Filesystem and Inode Monitoring

Table 1: Core Process Monitoring Commands

The first tools every sysadmin reaches for: real-time process viewers, snapshot tools, and utilities to find, filter, and inspect running processes. Mastering these covers the majority of day-to-day monitoring work without installing anything extra.

CommandExampleDescription
top
top
β€’ Real-time process viewer showing CPU, memory, load average
β€’ ships with all Unix-like systems
β€’ interactive keys M (sort by memory), P (CPU), k (kill), r (renice).
htop
htop
β€’ Enhanced color-coded interactive monitor
β€’ displays CPU cores individually, process tree (F5), filtering (F4), sorting (F6)
β€’ requires installation but vastly more usable than top.
ps
ps aux
ps -ef
β€’ Snapshot of running processes
β€’ aux shows all users BSD-style, -ef shows full format Unix-style
β€’ not real-time β€” use for scripting and quick checks
atop
atop 5
β€’ System-wide resource monitor updated every N seconds
β€’ logs historical data to /var/log/atop/
β€’ shows per-process disk I/O, network, CPU, memory
β€’ highlights saturated resources in red
btop
btop
β€’ Modern C++ successor to bashtop/bpytop
β€’ mouse support, themes, graphs for CPU/memory/disk/network
β€’ lightweight and highly responsive
β€’ best visual presentation of all CLI tools

More in Operating Systems and CLI

  • System Administration Cheat Sheet
  • systemd and Linux Service Management Cheat Sheet
  • AWS CLI Cheat Sheet
  • iptables Legacy Linux Firewall Reference Cheat Sheet
  • macOS Usage Cheat Sheet
  • tar gzip zip Archive and Compression Tools Cheat Sheet
View all 51 topics in Operating Systems and CLI