Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-20-2005, 12:43 AM   #1
Registered: Aug 2004
Posts: 88

Rep: Reputation: 15
check amount of memory

What can you type on the command line to find out how much memory a Linux box has? It's a Red Hat machine, and no, I'm not in front of it, so I can't try to use the GUI.
Old 01-20-2005, 12:52 AM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
The command free should do it.
Old 01-20-2005, 12:57 AM   #3
Registered: Dec 2004
Location: Phoenix, Arizona, USA
Distribution: Debian, RedHat, ???
Posts: 56

Rep: Reputation: 15
$ free
Will tell you how much memory is available, how much is used, and how much is swapped, as well asother metrics associated with memory.

see the man page for details...

Old 01-20-2005, 01:13 AM   #4
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

Rep: Reputation: 30
also try:
cat /proc/meminfo
Old 10-15-2008, 02:11 PM   #5
Registered: Oct 2005
Distribution: Suse, Debian
Posts: 44

Rep: Reputation: 15

Originally Posted by overlord73 View Post
also try:
cat /proc/meminfo
love it when solutions are clear and concise


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing the amount of cached memory balteo Linux - General 1 09-16-2005 04:06 PM
How to reserve fixed amount of memory for ramdisk? ihristov Linux - General 4 02-07-2005 04:52 PM
checking amount of free memory sanjith11 Linux - Software 6 05-13-2004 10:11 AM
How to check amount of users logged in CurtisKaj Linux - General 4 08-20-2003 09:46 PM
X uses an excessive amount of memory! ~80Mb kamstrup Linux - Software 3 08-18-2003 06:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration