I found the tool pstack is what I need. thanks
On Sat, Feb 8, 2014 at 5:13 PM, Mingfan Lu <mingfan.lu at gmail.com>
wrote:
> use pstree to get the threads of a brick server process
> I got something like below, could we know which threads are io-threads
> which are threads to run self-heal? how about others?
> (just according to the tid and know the sequence when to create)
>
> [root at 10.121.56.105 ~]# pstree -p 6226
> glusterfsd(6226)????{glusterfsd}(6227)
> ??{glusterfsd}(6228)
> ??{glusterfsd}(6229)
> ??{glusterfsd}(6230)
> ??{glusterfsd}(6243)
> ??{glusterfsd}(6244)
> ??{glusterfsd}(6247)
> ??{glusterfsd}(6262)
> ??{glusterfsd}(6314)
> ??{glusterfsd}(6315)
> ??{glusterfsd}(6406)
> ??{glusterfsd}(6490)
> ??{glusterfsd}(6491)
> ??{glusterfsd}(6493)
> ??{glusterfsd}(6494)
> ??{glusterfsd}(6506)
> ??{glusterfsd}(6531)
> ??{glusterfsd}(6532)
> ??{glusterfsd}(6536)
> ??{glusterfsd}(6539)
> ??{glusterfsd}(6540)
> ??{glusterfsd}(9127)
> ??{glusterfsd}(22470)
> ??{glusterfsd}(22471)
> ??{glusterfsd}(22472)
> ??{glusterfsd}(22473)
> ??{glusterfsd}(22474)
> ??{glusterfsd}(22475)
> ??{glusterfsd}(22476)
> ??{glusterfsd}(23217)
> ??{glusterfsd}(23218)
> ??{glusterfsd}(23219)
> ??{glusterfsd}(23220)
> ??{glusterfsd}(23221)
> ??{glusterfsd}(23222)
> ??{glusterfsd}(23223)
> ??{glusterfsd}(23328)
> ??{glusterfsd}(23329)
>
> my volume is:
>
> Volume Name: prodvol
> Type: Distributed-Replicate
> Volume ID: f3fc24b3-23c7-430d-8ab1-81a646b1ce06
> Status: Started
> Number of Bricks: 17 x 3 = 51
> Transport-type: tcp
> Bricks:
> ...
> Options Reconfigured:
> performance.io-thread-count: 32
> auth.allow: *,10.121.48.244,10.121.48.82
> features.limit-usage: /:400TB
> features.quota: on
> server.allow-insecure: on
> features.quota-timeout: 5
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140211/830ee636/attachment.html>