winsiderss / systeminformer

A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware. Brought to you by Winsider Seminars & Solutions, Inc. @ http://www.windows-internals.com
https://systeminformer.sourceforge.io
MIT License
11.09k stars 1.4k forks source link

[Feature request] TreeMap View for Memory Usage #1008

Open Krysl opened 3 years ago

Krysl commented 3 years ago

Is your feature request related to a problem? Please describe.

My memory usage often exceeds 90%, so I often need to find out which group of processes is causing a large amount of memory usage.

If I sort the processes by "private bytes", it breaks up the inheritance relationship, which makes me unable to estimate the total memory of a series of processes started by a certain process.

Describe the solution you'd like

I often use disk space analysis tools such as TreeSize/SpaceSniffer. They use TreeMap to show the disk space usage: TreeSize I just wrote some simple code to generate the image (draw by D3.js)(using CSV data exported by processhacker)
try it online on gh-pages "https://krysl.github.io/ProcessHacker_TreeMap/": I think this is a good way to display memory usage.

Describe alternatives you've considered

Additional context TreeMap can also be used for CPU usage analysis. But the CPU usage changes too fast, so maybe need other visualization methods, such as "Circular Treemap"

Biswa96 commented 3 years ago

Isn't this already a tree like view?

Capture

Masamune3210 commented 3 years ago

This isnt though, if you sort through any of the headers other than name, the tree dissolves, as stated in the first message image

Krysl commented 3 years ago

I just wrote some code to generate the images (draw by D3.js)(using CSV data exported by processhacker):

screenshot

I upload the code to github just now, and anyone can try it online on gh-pages "https://krysl.github.io/ProcessHacker_TreeMap/"

(Although some problems can be solved through the webpage, I still hope that ProcessHacker can have this feature built-in.)

Dobatymo commented 3 years ago

Maybe a different approach would be to extend the existing tree view to allow sorting by other columns hierarchically.

Bartolomeus-649 commented 2 years ago

It looks nice, but my first thought when I see requests like this is always: Which problem is this a solution to?

If the problem is that you want to see the sum of a metric for a process and its children, then the setting: "Include usage for collapsed processes" in the options-dialog should do the trick.

A more advanced search feature could make the existing functionality fulfill more requirements, like if you could search for processes with a specific process as their ancestor, or processes with a specific base image-path. If that were possible, then you could sort and compare within that search result.