getting the buffer/cache free value from free
Would anybody be able to tell me what the buffer/cache free, and used values would be named for the program free. I'm trying to modify cynapses for karamba to show the Actual current usage of RAM instead of what is being held, and would like to use those values. I tried things like %bu and %bf and %cu and %cf to no effect. I know %um is used memory, so what might buffer/cache used be?
|
You just take the value under 'free' and add 'buffers' and 'cache' to it.
|
Maybe you misunderstand my question...
I'm running karamba, with cynapses... and instead of it printing the value %um of %tm (used memory of total memory) I want to print the used buffer variable... Could anyone point me to the variable name, and/or a direction on the net which I might take to discover similar information. And I'm sorry, now that I look at it, I don't even think it's using the free program. |
ya, check out /proc/meminfo it may use that..
cat /proc/meminfo |
All times are GMT -5. The time now is 07:16 AM. |