ProcessSpy-public icon indicating copy to clipboard operation
ProcessSpy-public copied to clipboard

Toolbar: circle chart/icon

Open tborychowski opened this issue 1 year ago • 7 comments

Not sure if it's a feature request or a bug report, but:

The problem

The circle chart in the toolbar:

  • there's no info on it and what it shows
  • it doesn't seem to be the total CPU load, as the numbers don't add-up.

Proposed solution

Maybe a tooltip with some more info or popover with some more stats would make it a bit more useful.

tborychowski avatar Jul 31 '25 16:07 tborychowski

The chart is meant to be an overall CPU consumption %. It should roughly match what you see in Activity Monitor graphs: Sytem + User % I need to invest some more time into this as it was kind of neglected. I can imagine it would show more info, like load per core etc. If you have any suggestions, what it should show and how, please let me know :)

robert-v avatar Aug 06 '25 13:08 robert-v

Thanks. Yeah, I thought so (that it was supposed to show the CPU usage), but it doesn't seem to add up:

Image

(unless these numbers mean a different thing, as some processes sometimes show even over 100%, which is always confusing to me, because I cannot understand how 2 processes can use 100% cpu in the same time 😉)

As for what to show: for starters - a tooltip would help a lot 🙂 And if you decide to add add a popover, the system's Activity Monitor has a nice overview at the bottom:

Image

tborychowski avatar Aug 06 '25 17:08 tborychowski

CPU% per process is relative to a single core, so if a process uses 150%, it means it's utilizing the equivalent of 1.5 cores. If you have eight cores, the maximum value you could theoretically see for a single process is 800%. In contrast, overall CPU% is usually shown as a normalized value - essentially the sum divided by the number of cores. This is how tools like Activity Monitor, top, and htop report it as well.

Also, if you sum launchd recursively (running as root to get everything) and divide it by number of cores, that should roughly equal to the gauge value. But since there is rounding in place and numbers are retrieved at slightly different times during the snapshot, it wont be exactly 100% match.

Thanks for your inputs, I'll try to extend the gauge with some useful information.

robert-v avatar Aug 07 '25 07:08 robert-v

Wow, thanks for the explanation. That makes perfect sense now! 🙂

tborychowski avatar Aug 07 '25 08:08 tborychowski

For some reason the CPU% icon is taking up more space than previously. Would be great if it could be a tiny bit smaller, to not stick out as much amongst the other toolbar buttons.

SoCuul avatar Sep 04 '25 09:09 SoCuul

I addressed this in version 1.12.0 - added overall CPU history graph + CPU cores usage along with other stats. I'll close this now, if you have any other request regarding the new status bar please open a new issue.

robert-v avatar Apr 24 '26 12:04 robert-v

btw. the latest version of the app looks amazing! thank you!

tborychowski avatar Apr 28 '26 12:04 tborychowski