I want to profile my application which is most of the time doing I/O on a USB device.

I need to see what process are running on system and what each process is exactly doing whole the time.

Following are specs about system under test:

OS: Fedora 13(stripped down version) app language: Python/wxpython

so, can anyone guide me towards right tools/books/articles/guides?

link|improve this question

77% accept rate
feedback

3 Answers

Use ps, time, and top.

link|improve this answer
feedback

iotop and dstat are very very handy tools for identifying performance issues. I recommend specifically 'dstat -af' to find out what resource is (at any given time) the limiting factor.

link|improve this answer
feedback

That's just what random-pausing (stackshots) is for. It's easy to do in python using ctrl-C. Here's a brief explanation.

If you want visibility into the C code, an alternative is Zoom.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.