Can somebody provide me the top command source code


(Dhirendra ) #1

I want to code for the top like command tools


(Sunny Karira) #2

https://elixir.bootlin.com/linux/latest/source/tools/perf/builtin-top.c
My suggestion is first generate a call graph and then try :slight_smile:


(Kristoffer Berdal) #3

This is not a Go related question, and the answer can be easily found by using a search engine.


(Kristoffer Berdal) #4