Commit Graph

4 Commits

Author SHA1 Message Date
Caleb Bassi
d9607af034 Refactor 2019-02-03 21:04:57 -08:00
Caleb Bassi
dbf25cdd85 Fix temperatures not showing (#101, #103)
Sometimes a temperature sensor file in `/sys/class/hwmon/hwmon*/temp*_*` will return 'ENETDOWN: Network is down' when being read for some reason, which gopsutil propogates up to gotop. gopsutil still returns a slice of valid temperatures when it errors, so we can render those instead of ignoring the return value.
2019-02-03 20:26:57 -08:00
Caleb Bassi
625b16c916 Close #85 2018-12-13 21:59:45 -08:00
Caleb Bassi
a28e8117d7 Add freebsd build flag 2018-12-13 19:13:28 -08:00