Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 70 down vote accepted

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


share|improve this answer
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
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
Added updated image that now includes ltrace. – slm Mar 5 '14 at 19:57

Your Answer


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.