Archive for May, 2018

Linux Performance Analysis in 60 Seconds

Condensed version of this post by Brendan Gregg @ Netflix

uptime - load averages
dmesg -T | tail - kernel errors
vmstat 1 - overall stats by time
mpstat -P ALL 1 - cpu balance
pidstat 1 - process usage
iostat -xz 1 - disk i/o
free -m - memory usage
sar -n DEV 1 - network stats
sarn -n TCP,ETCP 1 - tcp stats
top - check overview