ruby script to calculate the total vm usage for each line in
ps auxww|grep pattern|awk {'print $5'}