Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

up vote 2 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.

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

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).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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