Modern desktop applications spawn several child processes to offload tasks to them. Notable examples in this regard are:
- Google chrome - spawns a new process per tab
- VSCode - spawns a bunch of development servers
- Any Electron based Application
Is there a tool available, commandline or otherwise, that lets you see the consolidated CPU and memory usage in the same level/hierarchy as the existing process tree?
So the top level of this tool, for Google Chrome for eg. will yield the consolidated memory and CPU usage across all the processes it spawned on a per tab basis.
I'd be happy to write one if it does not exist. I just want to make sure I'm not reinventing the wheel.
F5
-key