Re: proc/meminfo
- From: birre <spamtrap@xxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 10:25:36 +0200
On 2007-03-29 10:05, rashmi.igit@xxxxxxxxx wrote:
Hii all......
I am a newbie to linux and to software industry.
I am working on SIP protocol on RHEL platform.
Now the prob is
When my application is running that time if i give free command it
gives No memory space and after say a iota of time it give1mb free.
What i understand is some process is capturing the memory and do not
free it until and unless its execution get done.
Now my manager says check proc/meminfo file..How meminfo file get
updated?
After how much time period it get updated or do it need some event to
occur to get updated.
Is there any other utility which give exact measure of memory without
using /proc/meminfo?
is proc/meminfo is always reliabe to use?
How can I get out of this prob?
Kindly Help ppl........
Do not worry about the memory unless it start use swap when a new application
is started. Check Buffers: and Cached: , this memory
is available if needed, but instead of clearing it and return as free, it
will speed up things for ya.
/proc/meminfo is not a file, it's a virtual file, picking status directly
from the kernel.
#!/bin/bash
clear
while true
do
tput home
cat /proc/meminfo
done
/birre
.
- Follow-Ups:
- Re: proc/meminfo
- From: Chris F.A. Johnson
- Re: proc/meminfo
- References:
- proc/meminfo
- From: rashmi . igit
- proc/meminfo
- Prev by Date: Re: FREE Linux Shell Provider
- Next by Date: Re: Check the linux type?
- Previous by thread: proc/meminfo
- Next by thread: Re: proc/meminfo
- Index(es):
Relevant Pages
|