![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script required to get a required info from file. Pls. help me. | ntgobinath | Shell Programming and Scripting | 2 | 05-31-2008 09:34 AM |
| pstack usage on Solaris 9 | gregb32 | SUN Solaris | 1 | 02-18-2008 05:21 PM |
| Core Dump Analysis Using PStack and PMAP | kimblebee | UNIX for Advanced & Expert Users | 3 | 07-30-2007 09:12 AM |
| decipher pstack with problem lwp | hosierdm | SUN Solaris | 5 | 03-10-2004 10:29 AM |
| UNIX PATH info required PLEASE HELP (I'm new to unix) | akitachi | UNIX for Dummies Questions & Answers | 1 | 05-10-2002 03:37 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Required info on Pstack on solaris10
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 994 httpd 126M 99M sleep 58 0 1:11.25 2.4% ns-httpd/33 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 994 {pid} have assocaiated with the 33 threads NLWP value . But when have look the pstack 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 |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|