corecoding / Vitals

A glimpse into your computer's temperature, voltage, fan speed, memory usage and CPU load.
https://extensions.gnome.org/extension/1460/vitals/
GNU General Public License v2.0
1.42k stars 90 forks source link

Thresholds, Alarms and Colors #68

Open corebots opened 5 years ago

corebots commented 5 years ago

Could you perhaps add an option to set thresholds for certain values so that they come up in the panel only when they reach a set value first, and perhaps turn red or flash when a set extreme is reached?

EXAMPLE: don't display the CPU temp (or display the little icon only, so we're able to click on it to access the drop down), start to display the temp if it reaches 50degrees, turn red if reaches 75degrees. (perhaps flash if it reaches 90degrees)... Same for CPU, Memory, etc...

But as the first step, even hiding all below certain values would be nice already. This would keep the panel nice and tidy when all is alright with the system while functionality would be preserved.

Thank you, great extension btw.!

corecoding commented 5 years ago

Keeping this open because I am interested in this feature. Don't have a lot of time to work on it, but hopefully one day. Maybe someone will create a PR :)

wolfen351 commented 4 years ago

Tagging this one, because I too would love this feature! It is the tradeoff of screen clutter vs telling me stuff I need to take action about. I'd like to know stuff is being monitored, and when thresholds are met, that indicators start telling me that work is happening

corecoding commented 4 years ago

I believe the correct way to handle this is to parse /etc/sensors3.conf - this reuses existing alerts (if any) and supports custom naming of sensors as well.

guiNovais commented 2 years ago

That feature would be great! I use a fairly old computer to work, and sometimes it freezes when reaches full CPU and RAM usage. I usualy keep an eye on those values, but it is easy to distract and realize those values are high only when it's too late.

hyuri commented 2 years ago

Oh, this would be great. I came here exactly to request this feature.

kgapos commented 1 year ago

Same here, came to request an alerting feature. No time to work on this either.

T3sT3ro commented 1 year ago

Copied from #308:

It would be useful for me to monitor the temperature and show an alert if certain threshold is crossed, as well as setup multiple checkpoints when running out of battery. I haven't found any satisfactory native ways of monitoring those things. UPower, for example, can't configure more than 2 levels for battery power — low and critical. Also I found no nice solution for monitoring temperature and alerting me when something is not OK.

This would be very helpful for me, because my hardware fans fail very rarely, and the PC can overheat and without any warning shutdown immediately. Same goes for the battery, which can discharge randomly in a span of a few minutes, and I sometimes dismiss warnings until the battery is critically low.

For battery it would be nice to have "alert when threshold crossed" and "alert every X units after threshold crossed", for example every 3% if below 15%.

hyuri commented 1 year ago

Yes, notifications would be great. Came back to suggest this. For temperature, memory, battery. That way we don't even have to keep an eye on the system tray, we get notified on-demand.

T3sT3ro commented 1 year ago

I'm just gonna mention, that if a temperature tracking notification were to be implemented, then it is also worth thinking about some time-series smoothing function to reduce the spikes. Currently lm-sensors can produce anomalies lasting even several seconds showing temperature ranging even up to 50°. It would be useful to have some controls for adjusting the window size for the smoothing as well.

Sanan4li commented 1 year ago

Waiting for this feature to be added. I also need a memory limit alert because my system gets stuck after 98% memory use. The linux is not as good as windows in memory management.

hyuri commented 1 year ago

Waiting for this feature to be added. I also need a memory limit alert because my system gets stuck after 98% memory use. The linux is not as good as windows in memory management.

This was happening to me too. Adding an aggressive zram configuration solved it on Pop!_OS 21.10, and 22.04 now comes with zram pre-configured.