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 |
free.c a program in the procps package
(i think that's what you mean) it's very simple |
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.
|
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 |
All times are GMT -5. The time now is 10:49 PM. |