59

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?

75

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

  • 3
    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 – iruvar Mar 2 '14 at 7:21
  • @1_CR - kind words are always appreciated. – slm Mar 2 '14 at 7:40
  • 6
    Just one word: awesome ! And this diagram would remain true for most Unix systems. – Ouki Mar 2 '14 at 11:04
  • It's missing ltrace, but nice diagram. – abligh Mar 2 '14 at 21:29
  • 2
    Added updated image that now includes ltrace. – slm Mar 5 '14 at 19:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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