|
9dcbd2a48e
|
[修复] 更新依赖, 修复龙架构无法正常编译的问题
Build Go binaries / build (push) Has been cancelled
|
2024-09-13 15:08:35 +08:00 |
|
Anatol Pomozov
|
93fe0cab2e
|
smart.go: switch to simpler ReadGenericAttributes() api
...to get the device temperature. This API abstracts differences between
different device interfaces (SATA vs NVMe vs ...)
|
2022-09-17 12:57:15 -07:00 |
|
Anatol Pomozov
|
3518c5262f
|
Adjust nvme temperature from Kelvins to Celsius
NVMe devices report the temperature in Kelvins. Adjust it to Celsius like
for the rest of devices.
|
2022-07-15 11:02:27 -07:00 |
|
rare-magma
|
d7232aacb7
|
use single map, improve logic and logging
|
2022-06-19 22:11:56 +02:00 |
|
rare-magma
|
e96355d0b8
|
optimize device opening / closing
|
2022-06-18 18:55:38 +02:00 |
|
rare-magma
|
cd44aab61f
|
handle smart errors, use ParseAsTemperature()
|
2022-06-15 23:01:53 +02:00 |
|
rare-magma
|
3c148a4d97
|
add error handling, simplify attribute value assignment, remove redundant name for smart.go
|
2022-06-14 00:28:37 +02:00 |
|
rare-magma
|
3704569b81
|
use defer to close smart stream
|
2022-06-08 18:37:41 +02:00 |
|
rare-magma
|
7f90fef354
|
close smart stream after reading temperature
|
2022-06-07 22:25:17 +02:00 |
|
rare-magma
|
6a979718dc
|
use log for error instead of fmt
|
2022-06-07 20:43:04 +02:00 |
|
rare-magma
|
98c69b7dac
|
improve and simplify disk type switch
|
2022-06-07 20:31:53 +02:00 |
|
rare-magma
|
b89c1dd748
|
add disk temperatures via smart.go / ghw
|
2022-06-06 21:18:59 +02:00 |
|
Akbar Rifai
|
7cb35f7f78
|
Ignore gopsutil host warnings
|
2022-05-13 19:48:12 +07:00 |
|
Sean E. Russell
|
1181b94bd2
|
Closes #131, SMC GPL issue on OSX; consequently removes need to CGO in darwin.
|
2020-06-09 09:54:10 -05:00 |
|