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]Re: [tlug] Tip 'o the Day: discovering the real memory usage of aprocess
- Date: Wed, 08 Feb 2006 14:10:18 +0900 (JST)
- From: David E <dave@???>
- Subject: Re: [tlug] Tip 'o the Day: discovering the real memory usage of aprocess
- References: <d8fcc0800602072026h1ace482ep@example.com>
On Date: Wed, 8 Feb 2006 13:26:34 +0900, Josh Glover <jmglov@example.com> wrote: > ls -lyu <your_username> Did you mean ps -lyu ?? > > By default, top(1) shows the virtual and resident memory sizes of > processes, which is a little misleading, in that shared libraries are > counted over and over again, painting a scarier picture of memory > usage than the actual situation. Thanks to a comment attached to a > very useful entry[1] in a very useful blog[2], I discovered the above > invocation of ps(1), which will list, in the "SZ" column, the size of > the process itself, discounting shared libraries and such. > > For more details on all of this, see the blog entry itself: [1]. > > For more details on what ps(1)'s "SZ" column is really representing, > search the manpage for '^size': > > size SZ approximate amount of swap space that would be required if > the process were to dirty all writable pages and then be > swapped out. This number is very rough! > > Cheers, > Josh > > [1] http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.html > [2] http://virtualthreads.blogspot.com/ > -- > The TLUG server is hosted by Open Source Development Lab Japan. > http://www.osdl.jp/ > > To unsubscribe from this mailing list, > please see the instructions at http://www.tlug.jp/list.html
- Follow-Ups:
- Re: [tlug] Tip 'o the Day: discovering the real memory usage of aprocess
- From: Alain Hoang
- Re: [tlug] Tip 'o the Day: discovering the real memory usage of aprocess
- From: Josh Glover
- References:
- [tlug] Tip 'o the Day: discovering the real memory usage of aprocess
- From: Josh Glover
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Nomikai CD giveaway
- Next by Date: Re: [tlug] Flash Player V8.0 xpti.dat .......
- Previous by thread: [tlug] Tip 'o the Day: discovering the real memory usage of aprocess
- Next by thread: Re: [tlug] Tip 'o the Day: discovering the real memory usage of aprocess
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links