XPerf is a tool that allows you to take a detailed trace of various system activity like CPU, I/O and more...

Because of it's detail you can see stack trace counts, disk position offset graphs, driver calls and so on...

Is there a XPerf-a-like alternative for Linux and Mac OS X? What are the top-notch performance tools there?

link|improve this question

feedback

2 Answers

up vote 1 down vote accepted

For linux you can combine many tools. top (or htop), iotop, etc. You could also install BSD accounting and use the sa command.

link|improve this answer
1  
Some (or all?) of accounting is also available on OS X. – Daniel Beck Mar 26 '11 at 14:54
feedback

For OS X, look into dtrace and derived tools (I think fs_usage and sc_usage are related; there's also a Linux port), as well as parts of Apple's Developer Tools such as Shark (see e.g. here and here).

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.