This question is covered here in great detail.
How do you measure the memory usage of an application or process in Linux?
From the blog articl
I'm using htop; it's a very good console program similar to Windows Task Manager.