Per-core CPU saturation troubleshooting
Per-core %usr/%sys/%iowait — spot a single saturated core vs balanced load
mpstat -P ALL 1
more troubleshooting
all 32 commands →
Run-queue vs cores
vmstat 1 5 | awk 'NR>2{print "runq="$1" blocked="$2}'; nproc
Process thread count
ps -o nlwp= -p <pid>; ps -eLf | wc -l
RSS leak over time
while sleep 5; do ps -o rss= -p <pid> | awk '{print strftime("%T"),$1/1024"MB"}'; done
Fast memory rollup
cat /proc/<pid>/smaps_rollup
Largest memory mappings
pmap -x <pid> | sort -k3 -rn | head