Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add columns for total resources for process tree #1154

Open
svenssonaxel opened this issue Dec 28, 2022 · 2 comments
Open
Labels
new feature Completely new feature

Comments

@svenssonaxel
Copy link

svenssonaxel commented Dec 28, 2022

Currently, tree-view is almost useless for finding resource hogs. The reason is that sorting on e.g. CPU use in tree-view mode, will sort the process tree based on the CPU use of the parent, rather than the total.

Adding columns for total CPU/memory use for a process tree would allow the user to sort on the total to surface the process trees that hog the most resources, yet retain the ability to inspect the constituent processes and threads individually.

It is possible that users might want to sort on total CPU for the tree but without showing the column. Therefore, a further improvement would be to add an option that, in tree-mode, sorting on resource columns will sort on the total for the tree.

There are a few existing suggestions related to total resources. Here's how this one differs:

@BenBE BenBE added the new feature Completely new feature label Dec 28, 2022
@FranklinYu
Copy link

Do we simply sum up all the CPU and RAM usage? Is there a case where there is some overlap, e.g. “shared memory”?

@BenBE
Copy link
Member

BenBE commented Jun 20, 2023

Yes, e.g. memory used for shared libraries/executables. Also virtual memory may be shared between processes due to forking and a partially shared memory map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Completely new feature
Projects
None yet
Development

No branches or pull requests

3 participants