0
我正在尝试为cryptocurrency采矿设备设置一种“监视器”,并且想要观察我的钻机的温度。在Windows上使用Python访问GPU温度
由于我找不到用Python访问GPU温度的任何方法,我想询问是否有任何已知的方法来获取这些值。
在此先感谢。
我正在尝试为cryptocurrency采矿设备设置一种“监视器”,并且想要观察我的钻机的温度。在Windows上使用Python访问GPU温度
由于我找不到用Python访问GPU温度的任何方法,我想询问是否有任何已知的方法来获取这些值。
在此先感谢。
或者psutil:
Python 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> psutil.sensors_temperatures()
{'pch_skylake': [shwtemp(label='', current=43.0, high=None, critical=None)], 'coretemp': [shwtemp(label='Package id 0', current=29.0, high=84.0, critical=100.0), shwtemp(label='Core 0', current=26.0, high=84.0, critical=100.0), shwtemp(label='Core 1', current=26.0, high=84.0, critical=100.0), shwtemp(label='Core 2', current=25.0, high=84.0, critical=100.0), shwtemp(label='Core 3', current=24.0, high=84.0, critical=100.0)], 'acpitz': [shwtemp(label='', current=27.8, high=119.0, critical=119.0), shwtemp(label='', current=29.8, high=119.0, critical=119.0)]}
sensors_temperatures-methods目前仅在linux上可用! – Fookatchu
https://stackoverflow.com/questions/3262603/accessing-cpu-temperature-in-python这是一个良好的开端,可能会助阵 – Mauricio