Re: Fiinding size (or percent) of memory a thread occupies

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

 



--On Thursday, October 16, 2003 5:33 PM +0200 sting sting
<zstingx@xxxxxxxxxxx> 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.


_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux