Fast memory rollup troubleshooting
One-shot Rss/Pss/Swap totals without parsing full smaps; cheap on huge maps
cat /proc/<pid>/smaps_rollup
more troubleshooting
all 32 commands →
Largest memory mappings
pmap -x <pid> | sort -k3 -rn | head
Kernel slab top consumers
slabtop -o -s c | head -20
Reclaimable slab memory
grep -E 'Slab|SReclaimable|SUnreclaim' /proc/meminfo
OOM killer in dmesg
dmesg -T | grep -iE 'killed process|out of memory' | tail
OOM score of process
cat /proc/<pid>/oom_score /proc/<pid>/oom_score_adj