Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
  1. I want to have a whole list of all the processes with their memory usage.

  2. I want to sum up the memory usage of similar processes (i.e. processes with the same name or the same father process)

How can I do that, e.g. with command line tools?

share|improve this question

There are many commandline tools

ps which can be used to view processes their cpu usage etc. Just try ps aux.

top for system monitoring

htop is top with better readability

and there free, vmstat and pmap as well.

View respective man pages. i.e. man ps

share|improve this answer

I think htop is so far good. You need to install it by apt-get install htop. Also top command good as build-in.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.