Display available memory on Linux / Ubuntu

By Lowell Heddings on September 11th, 2006

Run this command from a terminal window. This works on debian, ubuntu, and redhat. I’m sure it works on others but those are the only ones I have access to.

cat /proc/meminfo

You should see results similar to this:

MemTotal:      3615716 kB
MemFree:        132528 kB
MemShared:           0 kB
Buffers:         50028 kB
Cached:        1572772 kB
SwapCached:      80716 kB
Active:         580208 kB
Inactive:      1142848 kB
HighTotal:     2752384 kB
HighFree:         8576 kB
LowTotal:       863332 kB
LowFree:        123952 kB
SwapTotal:     2104504 kB
SwapFree:      1064540 kB

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 09/11/06
More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!