Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Process Memory Usage



Curt Sampson wrote:
> So what I want to know is, where do I get the figure for the size of
> non-shared memory that is backed by swap? That is, I don't care about
> the executable itself, nor the shared libs, nor mmapped files, just the
> memory that would actually be freed if I killed the process.
>   

I believe

pmap -x PID

will give you that or at least what you need to calculate it.

> And guidance on where to go to find out more about the details of
> process memory allocation in Linux is welcome.
>   

http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html

Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links