Memory staying in cached status -- Possible Memory Leak
James Wilkinson
fedora at aprilcottage.co.uk
Mon Oct 30 17:47:44 UTC 2006
Kaplan, Andrew H. wrote:
> I ran a memtest86+ scan on the box, and there were no errors reported by
> application. At this point it would appear there is a resource hog that
> is causing this issue. What utility can I use to track the usage of
> the various programs on the system.
>
> The top utility comes to mind, but what options would I use including the
> ability to output the results to a file?
Three things:
Do you have swap turned on? If so, how much is being used just before it
crashes?
The free command should tell you this: if you want to script this,
something like
while true ; do free >> ~/free.log ; sleep 30 ; done
should append the output of "free" to a logfile in your home directory
until you press Ctrl-C.
Thirdly,
top -b -d30 > ~/top.log
ought to do you.
Hope this helps,
James.
--
E-mail: james@ | Many hardened criminals are brought up in families of
aprilcottage.co.uk | other hardened criminals. Their bad habits are passed
| down through the generations. So abolish the family and
| the problem is dealt with.
| -- Stephen Pollard, in The Times
More information about the fedora-list
mailing list