tariqbuilds / linux-dash

A beautiful web dashboard for Linux
https://afaqurk.github.io/linux-dash/
MIT License
10.4k stars 1.2k forks source link

cpu temp displayed but graph blank #511

Open thindata opened 1 year ago

thindata commented 1 year ago

On a vanilla debian machine the cpu temperature is displayed and updated but the graph is always blank?

cputemp

netzien commented 1 year ago

I run dash on a odroid-m1 arm server ,run ubuntu 22.04. I edit .../server/linux_json_api.sh cpu_temp() { ... "raspbian") cpu=$(</sys/class/thermal/thermal_zone0/temp) echo "$((cpu/1000))" | _parseAndPrint ... ... "ubuntu") cpu=$(</sys/class/thermal/thermal_zone0/temp) echo "$((cpu/1000))" | _parseAndPrint ... cpu

and now works