[Asterisk-Dev] How can I see what a thread is doing?
SteveK
stevek at stevek.com
Mon Jun 27 17:53:16 MST 2005
You can oprofile all day long, and not stop anything.. You end up
with like 100 or 1000 snapshots a second, instead of just one.
On Jun 27, 2005, at 5:46 PM, Brian West wrote:
> You can't without pausing the process... now if you're fast enough
> you can attach snag the trace and detach and only get a small blip
> in audio.
>
> /b
> ---
> Anakin: “You’re either with me, or you’re my enemy.”
> Obi-Wan: “Only a Sith could be an absolutist.”
>
> On Jun 27, 2005, at 3:34 PM, Matthew Boehm wrote:
>
>
>> Brian West wrote:
>>
>>
>>> attach to it with gdb and do "thread apply all bt"
>>> /b
>>> ---
>>>
>>>
>>
>> That's destructive though isn't it? Will it kill calls? Halt the
>> server? Do I attach to the main thread or the thread in question?
>>
>> Thanks,
>> -Matthew
>>
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
More information about the asterisk-dev
mailing list