sar -g 5 5
 vmstat -S 3

Check the pgout values from the above commands, should be low.

 prstat -a -s rss

Shows top processes in order of memory consumption

 vmstat 3

Check the sr column (scan rate), if there's lots of scanning there's memory issues

 echo "::memstat" | mdb -k

Shows kernel memory use

 kstat -m zfs

Check ZFS arc cache usage

 ps -e -o pid,vsz,comm= | sort -n -k 2

Shows per process utilisation

Recent Changes