[REQUEST] Group Processes in the process graph
Is your feature request related to a problem? Please describe. When I am looking at the process list, I would like to be able to know the total memory used by a program. However, by default, there are a number of entries for each process, so I would have to manually add up all the memory usages, cpu usages, etc.
Describe the solution you'd like
bottom by ClementTsang has an option (-g/--group) that does this. It groups the processes together, so there is only one entry for Discord, only one entry for vivaldi-bin (my browser) and it shows the total usage of each one.
Optimally, this could be a feature that would be enabled/disabled with an entry in the config file.
Describe alternatives you've considered Maybe it could be a keybind as well?
Additional context Default behaviour: https://i.imgur.com/lpjIxvx.png
Desired behaviour (btm screenshot): https://i.imgur.com/AabxK9X.png
This would be a great addition to btop.
I was looking for exactly this. It would help a lot with visualization.
I found out that it is possible if you enable these options in memory tab:
- Tree view
- Aggregate
Can confirm that proc_aggregate = True together with proc_tree = False and manually collapsing select nodes works for me:
While it would be nice to get automatic aggregation by "application" in some way, I struggle to formulate a general rule for that.