Linux Profiling

0

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?

MA1

Posted 2010-06-23T18:36:00.423

Reputation: 1 049

Answers

2

Use ps, time, and top.

mcandre

Posted 2010-06-23T18:36:00.423

Reputation: 2 696

2

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.

Slartibartfast

Posted 2010-06-23T18:36:00.423

Reputation: 6 899

1

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.

Mike Dunlavey

Posted 2010-06-23T18:36:00.423

Reputation: 141