Changed how to traverse processes and added how to get the rss values