簡體   English   中英

在Windows上訪問Python中的GPU溫度

[英]Accessing GPU temperature in Python on Windows

我正在嘗試為加密貨幣采礦設備設置一種“監視器”,並希望觀察我的鑽機的溫度。

由於我找不到用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)]}

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM