Re: Fiinding size (or percent) of memory a thread occupies
Kenneth Porter <[email protected]> Thu, 16 Oct 2003 16:37:13 -0700
| Newsgroups | gmane.linux.redhat.devel |
|---|---|
| Message-ID | <16679914.1066322233@[10.69.3.69]> |
--On Thursday, October 16, 2003 5:33 PM +0200 sting sting <[email protected]> wrote: > 1)The top command shows the memory of a process and all its threads as if > they > were all using the same size of memory ; which is probably so; > I have a process with some (5) threads and I want to know how much memory > each thread occuupies; top is not good (it dispalys the same percentage of > mem use to all) > Can it be done ? Threads share the same address space. The only memory unique to a thread is its stack.