Subscribe to How-To Geek

Recommended: Click Here to Run a Free Scan for Common PC Errors   [Sponsored Link]

Display available memory on Linux / Ubuntu

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
The Geek is the founder of How-To Geek and a geek enthusiast. When he's not coming up with great how-to articles, he's probably writing at his personal blog. This article was written on 09/11/06 and tagged with: Ubuntu, SysAdmin

Comments (2)

  1. asnd16

    thanks

  2. nomad

    or use command free


Leave a Comment




Leave your friendly comment here. If you have a computer help question, leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Copyright © 2006-2008 HowToGeek.com. All Rights Reserved.