Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

1 Answer 1

up vote 58 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

References

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

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.