Thursday, April 26, 2012

HowTo: Check RAM Size In Ubuntu Linux

How do I check amount of RAM in my Ubuntu Linux laptop or desktop system using GUI and command line tools?

Open a command-line terminal (select Applications > Accessories > Terminal), and then type the following commands to view amount of free and used memory in the system including total ram:
 
free -m
 
Sample outputs:
             total       used       free     shared    buffers     cached
Mem: 7997 2618 5378 0 126 1353
-/+ buffers/cache: 1139 6858
Swap: 15623 0 15623
You can also use the following command to get same info:
 
grep MemTotal /proc/meminfo
 
Sample outputs:
MemTotal:        8189496 kB
The above output indicates that I've total 8GiB ram.

GUI Tool To Find Out RAM Size Under Ubuntu Linux

The System Monitor application enables you to display basic system information and monitor system processes, usage of system resources, and file systems. You can also use System Monitor to modify the behavior of your system. To see memory information graphically, click on System > Administration > System monitor:
Fig.01: Ubuntu Linux Display Installed Memory
Fig.01: Ubuntu Linux Display Installed Memory

No comments:

Post a Comment