I want to code for the top like command tools
1 Like
https://elixir.bootlin.com/linux/latest/source/tools/perf/builtin-top.c
My suggestion is first generate a call graph and then try
1 Like
This is not a Go related question, and the answer can be easily found by using a search engine.
4 Likes