Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Process Memory Usage
- Date: Fri, 07 Nov 2008 14:24:55 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: [tlug] Process Memory Usage
- References: <20081107042446.GE5201@lucky.cynic.net>
Curt Sampson writes: > I notice that the VM size of processes under Linux, as compared > to NetBSD, is remarkably large. I suspect some sort of accounting > difference, but that's not the real issue here. You are aware that Linux has (or had until I stopped noticing) an "optimistic" allocation algorithm? That is, the kernel will overcommit memory in the expectation that processes ask for more than they need. I suspect that you may not find it easy to get an accurate estimate. > 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? /proc/$PID/oom_score looks like a likely candidate. ;-) /proc/$PID/statm also looks interesting.
- References:
- [tlug] Process Memory Usage
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Re: [RFC] Outline of the fast HTTP talk (PHP benchmark)
- Next by Date: Re: [tlug] Process Memory Usage
- Previous by thread: [tlug] Process Memory Usage
- Next by thread: Re: [tlug] Process Memory Usage
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links