11

Possible Duplicate:
How can I monitor the memory usage?

I have Ubuntu 12.4 LTS and I need a program that will be able to monitor my ram usage. Any suggestions?

0

6 Answers 6

25

I think htop is the best solution, this way you will be able to see what program is using the most amount of RAM.

  • sudo apt-get install htop
1
  • 2
    wow, this is awesome +1 Sep 12, 2012 at 13:50
23

Gnome System Monitor

It already has CPU, RAM, Network monitoring tool.

Just look for the application in your application dash or run

gnome-system-monitor
1
  • 1
    thanks for telling me about this app a while ago, today i set it as ctrl+alt+delete just like in windows Jul 2, 2014 at 21:13
12

You can use the console, just type "free"

1
  • 2
    free -m can give you a more realistic picture of how much memory is used by programs, as opposed to just cache and buffers, which will be default occupy the rest of your physical memory. May 18, 2012 at 1:04
9

Yes, many.

If you're looking for an applet, try Indicator-SysMonitor.

enter image description here

You can download a .deb file for it from here: https://launchpad.net/indicator-sysmonitor

Other programs are listed here at omgubuntu: http://www.omgubuntu.co.uk/2011/11/5-system-monitoring-tools-for-ubuntu/

6

Try commands: free, top or cat /proc/meminfo

With top, you can press shift+m to sort processes by (resident) memory usage.

1

The command free on the command-line is a good way.

However, it can be difficult to understand how exactly Linux uses memory, because by default the memory reported as "in use" includes buffers and cache. The thing about cache is that it automatically expands, as you use the disk, to occupy all remaining physical memory not used for programs (save for a few megabytes). However, when programs need it it's still "available" to them, so it is misleading to think of it as "in use".

I use free -m which also shows a count of used and free physical memory where buffers and cache are not counted as "used", which is more realistic.

Not the answer you're looking for? Browse other questions tagged .