Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-19-2006, 11:16 PM   #1
Registered: May 2006
Posts: 100

Rep: Reputation: 15
Command to display amount of memory

I'm running Suse Linux 10.
What is the command to display the amount of memory installed?
Old 05-19-2006, 11:26 PM   #2
Registered: Apr 2003
Location: Dallas
Distribution: Vector Linux, Suse 10.1
Posts: 186

Rep: Reputation: 30
There are probably several, but my favorite is the command "top". At the top of the screen is shows the memory available, and how much is used and free.

Good luck.

Old 05-19-2006, 11:32 PM   #3
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
free -m
output is in MB

Old 05-19-2006, 11:38 PM   #4
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,274

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Lots of ways. As lotusjps46 said, "top" is one. Also "free" (a simpler display than "top"). "vmstat" as well.

If you want lots of details, run "cat /proc/meminfo". The first line of output, "MemTotal", tells you how much physical memory you have. The rest of the lines tell you how it's being used. All of the above commands get much of (all of?) their raw data from /proc/meminfo, I believe.
Old 05-20-2006, 07:30 PM   #5
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
cat /proc/meminfo


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
check amount of memory naijaguy Linux - General 4 10-15-2008 02:11 PM
Increasing the amount of cached memory balteo Linux - General 1 09-16-2005 04:06 PM
Can Fedora Core 3 support this amount of memory? Alex_Saf Fedora 3 12-30-2004 05:10 PM
checking amount of free memory sanjith11 Linux - Software 6 05-13-2004 10:11 AM
X uses an excessive amount of memory! ~80Mb kamstrup Linux - Software 3 08-18-2003 06:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration