LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   tracing commands in linux (https://www.linuxquestions.org/questions/programming-9/tracing-commands-in-linux-210067/)

ananthbv 07-27-2004 12:30 AM

tracing commands in linux
 
Suppose I run a shell command, can I find out what kernel functions that command accesses? Should I use KDB or something like that?

itsme86 07-27-2004 12:40 AM

"strace <program name>" without the quotes.

e.g. strace myprog arg1 arg2

ananthbv 07-27-2004 12:58 AM

wow! this is really great, thanks.


All times are GMT -5. The time now is 04:17 PM.