Hi All , I am wanted to know the #of thread ( Kernal & User ) created by the Process i was looking into the prstat PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP [b]994[/b] httpd 126M 99M sleep 58 0 1:11.25 [b]2.4%[/b] ns-httpd/[b]33[/b] 997 httpd 114M 86M sleep 58 0 0:40.02 2.7% ns-httpd/22 995 httpd 96M 68M sleep 59 0 0:18.01 1.0% ns-httpd/15 >From the above values [b] 994 [/b]{pid} have assocaiated with the 33 threads >[b]NLWP[/b] value .
But when have look the [b]pstack[/b] output as below ----------------- lwp# 1 / thread# 31 -------------------- fea9f8b0 lwp_sema_wait (fdd01e60) feae96f4 _park (fdd01e60, feb0c000, 0, fdd01d98, 23154, fb8c1d98) + 114 feae93bc _swtch (fdd01d98, 0, feb0c000, 5, 1000, 0) + 424 feae81c4 cond_wait (fdd01d98, 0, 0, feb0c000, 0, 0) + 11c feae8088 pthread_cond_wait (320c58, 5f2d90, 53c, fed7e900, fdd01ab8, 320c78) + 8 fed5c4d0 PR_WaitCondVar (320c50, ffffffff, 9edbb0, 5f45a0, 0, 0) + 60 ff279ae4 __0fPConnectionQueueNGetConnectionR6KConnectionUi (24e6d0, 9e4c40, ffffffff, 2e, 100, 0) + e0 ff2701a4 __0fNDaemonSessionNGetConnectionv (9e4b28, 2000, 0, 1, 30, 100) + 74 ff270654 __0fNDaemonSessionDrunv (9e4b28, ff316400, ff316400, 9ee920, 0, 0) + c8 ff113f44 ThreadMain (9e4b28, b, feb0c000, 8, 9edbb0, 0) + 28 fed64c6c _pt_root (9edbb0, fed8075c, 1, 9edbb0, 1, fe401000) + ec feafb11c _thread_start (9edbb0, 0, 0, 0, 0, 0) + 40 ----------------- lwp# 2 / thread# 2 -------------------- fea9f200 signotifywait () feaee980 _dynamiclwps (feb0c000, 0, 0, feabf518, 1, 0) + 24 feaf1c90 thr_yield (0, 0, 0, 0, 0, 0) + 8c ----------------- lwp# 3 / thread# 66 -------------------- fea9da3c poll (fac01a08, 1, 1f4) feafa8dc poll (1, ffffffff, fac01a08, 1, 670e3849, 1f4) + 34 ff2960ac __0fQChildAdminThreadDrunv (88e610, fed7e900, 22e18, fffffff8, 0, b2bce5) + 94 ff113f44 ThreadMain (88e610, b, feb0c000, 8, b2bc18, 0) + 28 fed64c6c _pt_root (b2bc18, fed8075c, 1, b2bc18, 1, fe401000) + ec feafb11c _thread_start (b2bc18, 0, 0, 0, 0, 0) + 40 .................... ............. ...... ----------------- lwp# 31 -------------------- fea9f8b0 lwp_sema_wait (fb8c1e60) feae96f4 _park (fb8c1e60, feb0c000, 0, fb8c1d98, 23154, faff1d98) + 114 feae93bc _swtch (fb8c1d98, 0, feb0c000, 5, 1000, 0) + 424 feae81c4 cond_wait (fb8c1d98, 0, 0, feb0c000, 0, 0) + 11c feae8088 pthread_cond_wait (320c58, 5f2d90, 53c, fed7e900, fb8c1ab8, 320c78) + 8 fed5c4d0 PR_WaitCondVar (320c50, ffffffff, a51760, 5f46a8, 0, 0) + 60 ff279ae4 __0fPConnectionQueueNGetConnectionR6KConnectionUi (24e6d0, a48808, ffffffff, 2f, 100, 0) + e0 ff2701a4 __0fNDaemonSessionNGetConnectionv (a486f0, 2000, 0, 1, 30, 100) + 74 ff270654 __0fNDaemonSessionDrunv (a486f0, ff316400, ff316400, a524d0, 0, 0) + c8 ff113f44 ThreadMain (a486f0, b, feb0c000, 8, a51760, 0) + 28 fed64c6c _pt_root (a51760, fed8075c, 1, a51760, 1, fe401000) + ec feafb11c _thread_start (a51760, 0, 0, 0, 0, 0) + 40 .......... ...... .... -------------------------- thread# 1 -------------------- feae81c4 cond_wait (21558, 0, 0, feb0c000, 0, 0) + 11c feae8088 pthread_cond_wait (3210e0, 341538, 53c, fed7e900, 400, 1201) + 8 fed5c4d0 PR_WaitCondVar (3210d8, ffffffff, 23880, ffffffff, 1, 647858) + 60 ff297c84 __0fJWebServerDRunvT (ff319800, ff319ccd, ff319800, ff319de5, ff319800, ff319800) + c0c 00010c3c main (3, ffbef454, ffbef464, 21000, 0, 0) + 1c 00010bfc _start (0, 0, 0, 0, 0, 0) + 108 -------------------------- thread# 3 -------------------- feaed9e0 _reap_wait (feb10988, 1e8fc, 0, feb0c000, 0, 0) + 38 feaed738 _reaper (feb0ce08, fe695d38, feb10988, feb0cde0, 0, fe400000) + 38 feafb11c _thread_start (0, 0, 0, 0, 0, 0) + 40 -------------------------- thread# 4 -------------------- feae81c4 cond_wait (fe341d98, 0, 0, feb0c000, 0, 0) + 11c feae8088 pthread_cond_wait (4c508, 4e1e0, 53c, fed7e900, 1, 1) + 8 fed5c4d0 PR_WaitCondVar (4c500, ffffffff, 36d370, 0, ff33dfa0, ff33dc00) + 60 ff2947d0 __0fLUnixSignalsDGetiT (1, ff33dc00, 1, ff33dc00, 0, ff319c00) + e0 ff298b50 __0fXUnixSignalWatcherThreadDrunv (320f20, fed7e900, 22e18, fffffff8, 0, 3f405d) + 10 ff113f44 ThreadMain (320f20, 9, feb0c000, 8, 36d370, 0) + 28 fed64c6c _pt_root (36d370, fed8075c, 1, 36d370, 1, fe400000) + ec feafb11c _thread_start (36d370, 0, 0, 0, 0, 0) + 40 >From pstack i would like to know what is the below headder means ----------------- lwp# 1 / thread# 31 -------------------- ----------------- lwp# 34 -------------------- -------------------------- thread# 4 -------------------- these means thanks in advance Raj This message posted from opensolaris.org _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org