Diagram of Linux kernel vs. performance tools?

6,631

I came across this diagram which shows exactly this.

ss #1

In the above you can see where tools such as strace, netstat, etc. interact with the Linux kernel's subsystems. I like this diagram because it succinctly shows where each tool latches on to the Linux kernel, which can be extremely helpful when you're first learning about all the tools and their applications.

Source: Linux PerfTools

References

Share:
6,631

Related videos on Youtube

slm
Author by

slm

Worked in the tech field for over 20+ years. Started out learning basic on an Apple IIe then on a TRS-80. Been interested in computer hardware and software my entire life. Consider myself lucky that my hobby as a kid/adult is what I get to do everyday earning a living. You can learn more about me here. ============================================================ Stolen from @Mokubai: First, please put down the chocolate-covered banana and step away from the European currency systems. You may consider how to ask a question.

Updated on September 18, 2022

Comments

  • slm
    slm about 1 year

    Is there a diagram that shows how the various performance tools such as ip, netstat, perf, top, ps, etc. interact with the various subsystems within the Linux kernel?

  • Mathias Begert
    Mathias Begert over 9 years
    there are times on this site where I'm a bit confused...as to whether to upvote the question or the answer, so when in doubt i do both! SLM, as always, appreciated
  • slm
    slm over 9 years
    @1_CR - kind words are always appreciated.
  • Ouki
    Ouki over 9 years
    Just one word: awesome ! And this diagram would remain true for most Unix systems.
  • abligh
    abligh over 9 years
    It's missing ltrace, but nice diagram.
  • thameera
    thameera over 9 years
    ltrace is there in the original png ('Source' at the bottom)
  • slm
    slm over 9 years
    Added updated image that now includes ltrace.
  • chicks
    chicks almost 9 years
    I think mtr belongs next to traceroute.