April 29, 2011

truss -T, pstack & prun

Filed under: Uncategorized — srivenu @ 11:18 am

I normally use “truss -T” to suspend a process & “pstack” to list out the stack of function calls leading to the suspended call. This is clearly demonstrated in this post by Tanel Poder.

For the benefit of starters, i just wanted to point out that one key step was missing in the post. truss -T suspends a process and after using pstack, we shouldn’t forget to resume the process using prun.


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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

Blog at

%d bloggers like this: