Mastering System Performance: Top 10 Commands Every Veteran Linux Admin Should Know
top - Provides a dynamic real-time view of a running system, showing system summary information and a list of processes or threads currently being managed by the Linux kernel.
htop - An interactive system-monitor process-viewer that provides a more user-friendly and visually appealing alternative to top.
vmstat - Reports information about processes, memory, paging, block IO, traps, and CPU activity, helping to monitor system performance by various metrics.
iostat - Generates CPU, I/O statistics for devices, and partitions, offering insight into system input/output device loading which helps in diagnosing bottleneck issues in the system.
mpstat - Displays statistics about CPU usage on a per-processor basis, allowing for detailed analysis of balance and performance in multi-core systems.
dstat - A versatile tool that provides system resource statistics, including network behavior, system load, and process activity.
sar - Collects, reports, and saves system activity information, useful for historical analysis of performance metrics across various system resources.
perf - A powerful performance analyzing tool used for detailed performance monitoring and debugging, supporting complex queries about system activity.
nmon - Monitors and benchmarks performance across a wide variety of parameters; it provides a rich set of features to view data related to CPU, memory, disks, network, and NFS.
- bpftrace - A high-level tracing language for Linux enhanced BPF, ideal for advanced performance monitoring, networking, and security purposes.
No comments:
Post a Comment