Diagram of Linux kernel vs. performance tools?
I came across this diagram which shows exactly this.
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
Related videos on Youtube

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, 2022Comments
-
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 over 9 yearsthere 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 over 9 years@1_CR - kind words are always appreciated.
-
Ouki over 9 yearsJust one word: awesome ! And this diagram would remain true for most Unix systems.
-
abligh over 9 yearsIt's missing
ltrace
, but nice diagram. -
thameera over 9 years
ltrace
is there in the original png ('Source' at the bottom) -
slm over 9 yearsAdded updated image that now includes
ltrace
. -
chicks almost 9 yearsI think
mtr
belongs next totraceroute
.