Share your knowledge at the LQ Wiki.
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 03-03-2005, 08:48 PM   #1
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 177

Rep: Reputation: 30
buffer/cache variable for free command...

I'm using cynapses for karamba, and would like to change the Memory Load section to display the actual RAM being used for running applications, so what I want to know is the variable used for buffer/cache used, and buffer/cache free. And if anyone could point me in the direction of a repository for similar information I would be very grateful.

ie %mu = memory used

Last edited by audibel; 03-03-2005 at 08:52 PM.
Old 03-04-2005, 04:32 PM   #2
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
free.c a program in the procps package
(i think that's what you mean)
it's very simple
Old 03-04-2005, 06:49 PM   #3
Registered: Oct 2004
Distribution: Debian Sarge
Posts: 177

Original Poster
Rep: Reputation: 30
I apologize, don't know why I thought it was from the free program, but it's not... Got my question answered from karamba at sourceforge, but you still taught me something new, and I'm trying to learn some C... so thanks.
Old 12-14-2007, 02:54 PM   #4
LQ Newbie
Registered: Oct 2007
Posts: 17

Rep: Reputation: 0
Linux Memory Questions

Thanks in advance, I have a Redhat Linux server that is showing 6GB of RAM being used out of 8GB. This server is running Oracle and my dba's have shutdown oracle. I do not see any oracle services running, but in my free command and top command it tells me Memory is being used.

I am assuming somewhere this memory is being cached(hence the cached field) how do I find out what process has caused this? Or is this a setting I have to change?

[root@hqoradev05 oracle]# free
total used free shared buffers cached
8165732 6995032 1170700 0 411608 5980664
-/+ buffers/cache: 602760 7562972
Swap: 16386292 0 16386292

[root@hqoradev05 oracle]# cat /proc/meminfo
MemTotal: 8165732 kB
MemFree: 1170636 kB
Buffers: 411608 kB
Cached: 5980664 kB
SwapCached: 0 kB
Active: 3149616 kB
Inactive: 3342372 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 8165732 kB
LowFree: 1170636 kB
SwapTotal: 16386292 kB
SwapFree: 16386292 kB
Dirty: 60 kB
Writeback: 0 kB
Mapped: 116684 kB
Slab: 466448 kB
CommitLimit: 20469156 kB
Committed_AS: 1236900 kB
PageTables: 2728 kB
VmallocTotal: 536870911 kB
VmallocUsed: 272692 kB
VmallocChunk: 536598107 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB


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
getting the buffer/cache free value from free audibel Programming 3 03-04-2005 06:51 PM
where and how to say squid how many free space to use for cache ? rino2003 Linux - Software 0 12-14-2004 12:12 PM
Do any kernels support a multi-gigabyte buffer cache? dtrusty Linux - Software 1 11-04-2004 12:34 AM
file buffer cache jwstric2 Linux - General 2 06-30-2004 04:25 PM
File buffer cache structure dserban Linux - General 0 04-20-2001 04:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:17 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