RangerOfFire
05-22-2005, 11:42 AM
I have a script at http://dandd.cubepower.net/cubestatus-1p0p2/ (download at http://dandd.cubepower.net/cubestatus-1p0p2.zip )
which does not display the mem used corretly, I am getting the free memory from /proc/meminfo, but it does not account for memory in cache. I am using the MemTotal: and MemFree: parts.
Is there another way or could I use a different part of /proc/meminfo ?
I know of the free command, but how do I use php to get the buffers and cached values?
which does not display the mem used corretly, I am getting the free memory from /proc/meminfo, but it does not account for memory in cache. I am using the MemTotal: and MemFree: parts.
Is there another way or could I use a different part of /proc/meminfo ?
I know of the free command, but how do I use php to get the buffers and cached values?
