$ a=0; ps axfu | grep ^gdm| awk '{print $6}' | \ (while read x ; do a=$(( a + x )) ; done ; echo $a ) 400760 Does anyone else notice that gdm's session takes up 300-400MB of RAM? I typically defend GNOME, but this is kind of ridiculous.