One neat trick with strace: you can hook into a running process with 'trace -p pid'. Of course you miss the startup events, but you can 'see' what happens on files and sockets... You can trace the window manager, contentlister, etc...
When you run it like 'strace -o outfile -ff program' it creates one output file per process (handy when the main process forks).
Antartica: any idea why ltrace doesn't work? I Tried several versions... They all fail with 'unexpected events' and stack overflows... :-(
Happy tracing!
|