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

More CPU Percentage Color Indicators #2995

Open
rafix7742 opened this issue Oct 31, 2024 · 4 comments
Open

More CPU Percentage Color Indicators #2995

rafix7742 opened this issue Oct 31, 2024 · 4 comments

Comments

@rafix7742
Copy link

Currently there are not many CPU color indicators, especially for admin/user processes. It would be nice to have different colors for when processes are user generated or system generated or admin generated. There should also be more colours for the CPU percentage to easily identify different percentages in the process list.

@nicolargo
Copy link
Owner

Hi @rafix7742

can you give us some examples with:

  • system process / color RBG code
  • admin process (what's the diff between system and admin user) / color RBG code
  • user process / color RGB code

@rafix7742
Copy link
Author

Hi @nicolargo

Thanks for looking into this enhancement.

Ideally I would really like to have any process with a 'USER' value take on a red or pink colour. To keep the pallet consistent the same red used for 99% CPU usage can be repurposed. As an example something like this:
image

As for the CPU percentage list I am seeing a white, green, and red. I am wondering if it be possible to add an yellow and an orange as intermediary values between green and red?
image

I hope that helps clarify things!

@nicolargo
Copy link
Owner

@rafix7742 the color are defined by the thresholds configured in the glances.conf file:

[processlist]
...
cpu_careful=50
cpu_warning=70
cpu_critical=90
mem_careful=50
mem_warning=70
mem_critical=90
...

with the following color binding:

image

For the highlight of the user, in your example, you said that any process with a 'USER' value should be display with a color. but in your screenshot only the user root is highlight. Please can you clarified ? To my point of view there is no easy way to say if auser is a system or user...

@nicolargo
Copy link
Owner

@rafix7742 Any head up ?

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

No branches or pull requests

2 participants