Sunday, December 04, 2011

How to trace code in linux?

How to trace system calls and signals in linux?
The executable file named strace was built-in Fedora 7.

I have been tried to trace the zip with follow command for fun.

strace -ttt -e trace=open /usr/bin/zip

If you want to known advanced usage, please man strace under linux environment.
man strace

No comments: