Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-13-2004, 06:35 AM   #1
Registered: Oct 2003
Distribution: redhat
Posts: 63

Rep: Reputation: 15
checking amount of free memory

how can i find the amount of free memory in my linux system.
is there any command for that.
Old 05-13-2004, 06:48 AM   #2
LQ Newbie
Registered: Mar 2004
Location: Lombard, IL.
Distribution: SUSE 9.0 & Fedora Core 2
Posts: 21

Rep: Reputation: 15
The "top" command provides a constantly-updating view of CPU & memory utilitzation.
Old 05-13-2004, 09:15 AM   #3
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Rep: Reputation: 15
Just a comment, when you check the amount of free memory you will notice that most of your RAM is being taken up, Linux seems reserve a large percntage of memory while its running, a good way to see how well your system is running is by how much swap you're using. Also you can add an applet to your panel that shows your current memory usage and also processor, network, etc.

right click panel > add to panel > utility > system monitor

then right click the system monitor to chose options.
Old 05-13-2004, 09:20 AM   #4
Registered: Jun 2002
Location: Australia
Distribution: Slack 9.1
Posts: 232

Rep: Reputation: 30
The "free" utility also provides a command line summary, type "free" on the command line.

Last edited by Pres; 05-13-2004 at 09:21 AM.
Old 05-13-2004, 10:02 AM   #5
Registered: Aug 2003
Location: Akron, OH
Distribution: Fedora Core 3
Posts: 185

Rep: Reputation: 30
to expound on the free command a bit, the following is a sample. the following shows that the machine has a total of 384M of RAM of which 177M is available (shown on the line that says "+/- buffers/cache" in column "free" (177388). that amount is what's free after adding back what's been used for cache (which is given back on demand). i have swap turned off which is why that line shows all zeros.

             total       used       free     shared    buffers     cached
Mem:        384584     368740      15844          0      25584     135960
-/+ buffers/cache:     207196     177388
Swap:            0          0          0
Old 05-13-2004, 10:03 AM   #6
-Nw- neX
Registered: Apr 2004
Distribution: Gentoo, RHL, CentOS, Ubuntu, FreeBSD,
Posts: 88

Rep: Reputation: 15
if you are looking at getting running totals all the time.... the gnome system monitor is good, but gkrellm has a few more features.
Old 05-13-2004, 10:11 AM   #7
LQ Newbie
Registered: Mar 2004
Distribution: Redhat 8.0, SuSE Enterprise Server 8.0
Posts: 9

Rep: Reputation: 0
cat /proc/meminfo

for more detailed memory info.


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
how do you determine amount of free space? elamigo2004 Linux - Software 3 04-17-2004 07:31 PM
X uses an excessive amount of memory! ~80Mb kamstrup Linux - Software 3 08-18-2003 06:42 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:30 AM.

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