Find RAM details (size, make, speed, slots, etc.) in Linux/Unix

Categories:  linux
Labels:  terminal, OS, ram

This is our third post on getting hardware information. In this post we will see how to get RAM details such as size, speed, make, maximum capacity allowed RAM etc. 2-pages.

Example1: Find RAM size (Total, available, used) in Linux. We can use below five methods to get details.

$ free

Output:

             total       used       free     shared    buffers     cached
Mem:       8027952    4108280    3919672          0     132180    1646004
-/+ buffers/cache:    2330096    5697856
Swap:     15624188     573224   15050964 
$ top

Output:

top-command-ram-details

$ cat /proc/meminfo

Output:

MemTotal:        8027952 kB
MemFree:         3893748 kB
Buffers:          132208 kB
Cached:          1666864 kB
SwapCached:       226556 kB
Active:          1979556 kB
Inactive:        1849480 kB
Active(anon):    1592580 kB
Inactive(anon):   886080 kB
Active(file):     386976 kB
Inactive(file):   963400 kB
Unevictable:          68 kB
Mlocked:              68 kB
SwapTotal:      15624188 kB
SwapFree:       15050964 kB
Dirty:               172 kB
Writeback:             0 kB
AnonPages:       1907548 kB
Mapped:           223484 kB
Shmem:            448696 kB
Slab:             140444 kB
SReclaimable:     101456 kB
SUnreclaim:        38988 kB
KernelStack:        4960 kB
PageTables:        53108 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    19638164 kB
Committed_AS:    7822876 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      567356 kB
VmallocChunk:   34359151824 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      120832 kB
DirectMap2M:     8118272 kB 
Related Posts:

Social Profiles

This web accept cryptocoin donations
BTC address, LTC, ETH, DASH, Uphold:
Why donations?