hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

Ability to add Custom Meter #899

Open diego898 opened 5 years ago

diego898 commented 5 years ago

I would like to additional Meters to HTOP, to be able to monitor my GPUs. I can get the utilization of an NVIDI GPU using: nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader -i 1 and all GPUs by removing the -i 1. It would be useful to be able to add this to htop meters

aydancoskun commented 5 years ago

yes please!

adumont commented 5 years ago

would be also cool to be able to add counters like the one in /sys/ , /proc

For example: let the user specify in a file, some customMeters: meter0: /sys/devices/virtual/thermal/thermal_zone0/temp meter1: /sys/devices/pwm-fan/cur_pwm

Maybe also the ability to do some simple calculation on them. like /1000 ,or like that.