Some notes on strace

I’ve been meaning to write a little on strace for a while. I use it fairly often, but as with everything it seems that there’s always a lot more to learn.


I was reading about a new perl module, Devel::Trace::Syscall which can be used as a perl debugger module to print stack traces when certain syscalls occur (perl -d:Trace::Syscall=$ARGS $SCRIPT).

There are a few more nice strace blogs posts by Julia Evans. One of the ideas I’d not thought of before is using the -c option (count call time) to assist with troubleshooting performance (which is mentioned here among other places.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s