What is an XPerf alternative for Linux and Mac OS X?

8,011

Solution 1

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

Solution 2

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:
8,011

Related videos on Youtube

Tamara Wijsman
Author by

Tamara Wijsman

In my free time I visit Stack Exchange to help out people with their questions and help maintain the community. Located in Belgium, I have studied Computer Science at the University of Antwerp and became a Master in Software Engineering. When I think a post can be improved I will try to do so by fixing grammatical or spelling errors, clarifying meaning without changing it, correcting minor mistakes, adding related resources or links. For the less obvious things of those I will leave a note in the edit, click on the date to see this. I will only edit content in posts once, and let the author or other users be free to choose to rollback; when there are opposing views, we can raise this to meta to let the majority decide which revision of the post they want. This will be done with respect of the original author and when I'm sure enough that it would only improve the post. Have a nice day! :)

Updated on September 18, 2022

Comments

  • Tamara Wijsman
    Tamara Wijsman over 1 year

    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?

  • HikeMike
    HikeMike about 13 years
    Some (or all?) of accounting is also available on OS X.
  • Traveler
    Traveler almost 7 years
    Check out Instruments for the new version.