Stack Size of a thread

2003-10-19 Thread sting sting
Hello , from a previous posting in this newsgroup, I saw that each thread has a unique stack size of it's own ; As I know there is a default stack size for a pthread; but it grows and shrinks during run time. can I know the size of this stack during run time ? regards, sting

Fiinding size (or percent) of memory a thread occupies

2003-10-16 Thread sting sting
Hello, 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 o

ps -aux command on RH 9 , treads , and previous RH versions

2003-10-16 Thread sting sting
Hello , I am using RH7.3 , RH8 , and RH 9 . I am writing an application in C++, called myApp (the executable) which uses 5 threads; (posix threads) Now , the output of ps -aux | grep myApp on RH7.3 , RH8 is 6 lines . in RH9 it is only one line; In fact , I wish sto see the all as in previous vers