[NTLUG:Discuss] Process memory
George Lass
George.Lass at osc.com
Fri Jun 14 09:16:10 CDT 2002
I guess my kernel is too old to support the "mem" pseudo file
(I am forced to use RedHat 5.2 with a 2.0.36 kernel due to the
vendor software in question). If I try to "cat", "dd", or "od"
/proc/518/mem I get an error saying:
mem: No such process
Any other ideas?
TIA
George
Steve Baker wrote:
>
> George Lass wrote:
> > I have a vendor supplied API process that is eating up memory
> > on my PC and am wanting to know if there is a safe and somewhat
> > easy way to "look" at its memory without stopping the
> > process or causing it to core dump.
>
> Check out /proc/{process_id}/mem - that "file" is actually hooked up
> to a kernel device driver that returns you the memory space of the
> process indicated in the filename.
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list