“Peer into the behavior of an application with truss. When an application doesn’t work as expected, you typically look at application and system logs as a first recourse. But when logs don’t help, UNIX provides a powerful set of tools that you can use to trace the application while it runs. Armed with these traces and a bit of knowledge about UNIX, you can easily solve your application problems.”
truss is an excellent tool althought is isn’s installed on all Unix flavors by default. The linux equivalent is strace.
for a while. ms called it “nt application bug tracing for win32 services”. apparently it sent a report to microsoft with the associated problem.
when you use a network sniffer, however – you will see that the program does not send a report to microsoft, which is strange.
Thanks for the article!
There’s another one that this article links to on using DTrace. Looks good also.
http://users.tpg.com.au/adsln4yb/DTrace/dtracevstruss.html