## Troubleshooting and Debugging ### Tooling ``` observability, benchmarking, tuning, static performance tuning, profiling, and tracing ``` - uptime - Useful for CPU load averages (no of processes wanting to run) - *High Level* idea of system usage, moving sum average of 1, 5, 15 minute. - "High level" because gives some idea of how the load is changing on a system, i.e. if the load average at 1 min is more than that of 15 min, the load is increasing, or if reverse then load is decreasing. If load is 0.0, then CPU is idle - Load averages : CPU demand - ad averages dmesg | tail vmstat 1 mpstat -P ALL 1 pidstat 1 iostat -xz 1 free -m sar -n DEV 1 sar -n TCP,ETCP 1 top