[Asterisk-Dev] java agi. Help me!

Steve Kann stevek at stevek.com
Fri May 20 06:57:51 MST 2005


Matthew Boehm wrote:

>SteveK wrote:
>  
>
>>>try running it with strace, so you can see what it's
>>>getting/receiving.
>>>
>>>I.e. change gij voo.class to strace gij foo.class 2>/tmp/strace.out
>>>
>>>It should help you uncover what's happening.
>>>
>>>-SteveK
>>>      
>>>
>
>That sounds like a cool tool to check some file IO I'm doing in a patch. Is
>there a way to use that tool for a specific module for asterisk instead of
>running all of asterisk inside it? or would that be ok to do?
>  
>

strace runs on a per-process basis, so you can't really single that out.

strace is definitely one of the first tools you should use on a unix 
system to figure out WTF is going on, with i/o, file access, etc.


-SteveK



More information about the asterisk-dev mailing list