How to check running tasks, CPU & RAM usage in Ubuntu 12.04

 Posted March 27, 2016

Check CPU Usage

Type “top” to see a multitude of information, constantly updated:

Output:

Hit the “1” key to see CPU usage by core:

And “q” to exit out:

To see a static list of the top 20 CPU-hogging tasks running on your system:

Output:

Or to list all tasks with both CPU & RAM usage:

For information about your CPU:

Output:

 

Check Memory (RAM) Usage

Type the following into your into your shell:

The output will look as follows:

In my case, I’ve got a total of 4GB of RAM and an 8GB swap file.

Speak Your Mind

*