3 ms·
Yes truly, is there something like this for linux threads and processes?
by billfruit 5y ago
Yes truly, is there something like this for linux threads and processes?
- pkaye 5y agoThe Linux Perf tool is pretty powerful. I've barely just scratched the surface myself. https://perf.wiki.kernel.org/index.php/Main_Page https://perf.wiki.kernel.org/index.php/Main_Page As as a side note, Go and pretty good profiling tools. You can see a trace of goroutine execution and why a goroutine got scheduled out and when GC kicks in. https://about.sourcegraph.com/go/an-introduction-to-go-tool-trace-rhys-hiltner/ https://about.sourcegraph.com/go/an-introduction-to-go-tool-...
- mycoliza 5y agoA lot of the Tokio console UI was inspired by `htop`, which provides a pretty similar overview of processes and threads. It doesn't really have the same ability to inspect things like `pthread_mutex` and timerfds etc in the same way that the Tokio console can inspect the state of `tokio::sync::Mutex` and `tokio::time::Sleep`, though; although I wonder if something like that could be possible with eBPF...