JustinAzoff / dstat-raspberry-pi

dstat plugins for Raspberry Pi
1 stars 1 forks source link

dstat for raspberry pi constantly crashing #1

Open Inkertus opened 2 years ago

Inkertus commented 2 years ago

after leaving the program running in terminal for a while, with regularity, it crashes out on me. Attached is a screenshot of the traceback.

constant crashing

JustinAzoff commented 2 years ago

I don't think that error is caused by this script. Unfortunately the error doesn't say what 'name' is when it crashes. All this script does is read the value in /sys/devices/virtual/thermal/thermal_zone0/temp and divide it by 1000, and that shouldn't result in a value of 'infinity'.

maybe try running something like

dstat -whatever-flags-you-are-using ; cat /sys/devices/virtual/thermal/thermal_zone0/temp

to see what that file contains when dstat crashes.

Could also try running a 2nd instance of dstat without the raspberry pi plugin to see if that one crashes as well.