Required info on Pstack on solaris10


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Required info on Pstack on solaris10
# 1  
Old 06-02-2008
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help with extract info if fulfill condition required

Input file (4 DATA record shown in this case): DATA AA0110 ACCESSION AA0110 VERSION AA0110 GI:157412239 FEATURES Location/Qualifiers length 1..1170 1..1700 /length="1170" position ... (5 Replies)
Discussion started by: perl_beginner
5 Replies

2. Solaris

pstack file analysis

Hi ... Can you please share how to analyse pstack file and various options for core dump analysis (3 Replies)
Discussion started by: anand87
3 Replies

3. Ubuntu

pstack missing from Ubuntu 10.10

Hi All I would like to use the tool "pstack" to get a sample of the stack trace for a process. As far as I understood It seems widely available in all Linux systems, but it is not in Ubuntu 10.10. I tried using apt-get as per some posts in few forum, but it cannot be found in the APT... (9 Replies)
Discussion started by: manustone
9 Replies

4. Solaris

prstat info required

Hi, I issued the following command on my solaris 10 and got the following info. prstat -Z PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 1344 oracle 4872M 2392M sleep 59 0 145:49:50 0.1% oracle/1 17523 oracle 3976K 3672K cpu18 59 0 0:00:04 0.1% prstat/1 1550 oracle 3276M... (1 Reply)
Discussion started by: malikshahid85
1 Replies

5. Solaris

Info required zones in solaris

Can anyone explain me what is the use of zones in solaris. Also how to find whether it is a local or global zone. (1 Reply)
Discussion started by: rogerben
1 Replies

6. Red Hat

pfiles and pstack and ptree

Can someone tell me the Linux equivalent for pstack and pfiles and ptree which are Solaris commands. (1 Reply)
Discussion started by: bdsffl
1 Replies

7. Shell Programming and Scripting

how to retrieve required specific info from the file

Hi I have a file which consists of a number in the square brackets, followed by the blank line, then several lines which describe this number. This pattern is repeated several thousands time. The number in the brackets and the decription of it is unique. For example: ASRVSERV=1241GD;... (2 Replies)
Discussion started by: aoussenko
2 Replies

8. Solaris

pstack usage on Solaris 9

Hello everyone, I have a 12-thread application running on Solaris 9. When I use the pstack command after a typical core dump, it prints the stack output of all 12 threads/lwps. This is the standard procedure as it is described in the Solaris MAN pages. Is there a way to filter out the... (1 Reply)
Discussion started by: gregb32
1 Replies

9. Solaris

decipher pstack with problem lwp

My company has a product that is running on JBoss on Solaris against Oracle 8.1.7. We are having an issue with the server process and high CPU utilization. During this time, and only during this time, we are experiencing database locks that will not let go. A 'ps -L' on the server process... (5 Replies)
Discussion started by: hosierdm
5 Replies

10. UNIX for Dummies Questions & Answers

UNIX PATH info required PLEASE HELP (I'm new to unix)

I need to know how to enter a unix path in a cgi script for a guest book: example: My URL is http://www.kitachi.info I have an html file in the main folder on my site, the file is called : gbook.html what would the correct unix path for this file be ??? the part of the script... (1 Reply)
Discussion started by: akitachi
1 Replies
Login or Register to Ask a Question