get avg mem usage by number of processes