Showing posts with label memory. Show all posts
Showing posts with label memory. Show all posts

Friday, January 30, 2009

Checking the RAM

How to check the amount of RAM in your machine:

$ free -mt
total used free shared buffers cached
Mem: 16054 2959 13095 0 27 2617
-/+ buffers/cache: 315 15739
Swap: 7820 0 7820
Total: 23875 2959 20915

$ cat /proc/meminfo
MemTotal: 16440088 kB
MemFree: 13409252 kB
Buffers: 27648 kB
Cached: 2680276 kB
SwapCached: 0 kB
Active: 2844436 kB
Inactive: 118344 kB
SwapTotal: 8008360 kB
SwapFree: 8008360 kB
Dirty: 20 kB
Writeback: 0 kB
AnonPages: 254868 kB
Mapped: 32136 kB
Slab: 42140 kB
SReclaimable: 21872 kB
SUnreclaim: 20268 kB
PageTables: 2532 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 16228404 kB
Committed_AS: 1417776 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 266304 kB
VmallocChunk: 34359471791 kB

$ dmidecode --type 17
(NOTE: use sudo if you are login as non-root user with privilege)

$ prtconf |grep Mem

Other useful command:
$ cat /proc/cpuinfo

Source:
http://www.cyberciti.biz/tips/how-much-ram-does-my-linux-system.html
https://www.linuxquestions.org/questions/debian-26/check-my-ammount-of-ram-248050/
http://www.cyberciti.biz/faq/check-ram-speed-linux/
http://ubuntuforums.org/showthread.php?t=457883