User Tools

Site Tools


memory_alerts

Memory analysis:

 ps -eo comm,rss | sort |awk '{rss[$1]+=$2 }; END { for (comm in rss) {print comm,rss[comm]/1024, "M"} } ' | awk ' $2<100 { other += $2}; $2>100{print}; END {print "other ",other,"M"} ' | column -t | sort -n -k2
memory_alerts.txt · Last modified: 2013/11/13 16:29 (external edit)