如何获取PC主板的温度(以及其他硬件统计信息)? [英] How to get the temperature of motherboard of a PC (and other hardware statistics)?

查看:124
本文介绍了如何获取PC主板的温度(以及其他硬件统计信息)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何获取当前的主板,处理器或高清温度统计信息吗?
在GNU/Linux中,我知道我可以使用诸如hddtemp或感测器之类的信息来获取信息,然后对其进行解析...但是在Windows中:我该怎么做?而且,可以使用C#或Java或任何其他高级编程语言来完成吗?
谢谢!

解决方案

温度和其他监视传感器的问题在于,在硬件级别上没有通用协议,也没有驱动程序允许使用通用API检索该信息.

已经提到的SpeedFan和 HWMonitor 之类的软件(来自CPU-Z实用程序的制造商)通常通过使用内核模式驱动程序访问SMBus设备来辛苦地对各种传感器和总线控制器进行分类,并实现相应的协议,从而进行工作.

要将此功能嵌入您自己的软件中,您可以自己开发此功能(可以通过为特定的硬件量身定制,并使用www.lm-sensors.org的linux代码作为参考来减少工作量)或购买实现它的商业图书馆.可在此处获得. >

祝你好运

does any one know how to get the current motherboard, processor or HD temperature statistics?
In GNU/Linux, I know I could use something like hddtemp or sensord to get the info, and then parse it... but in Windows: How can I do this? And, Can it be done with with C# or Java or any other hight level programming language?
Thanks!

解决方案

The problem with temperature and other monitoring sensors is that there is no common protocol on the hardware level, nor drivers allowing to retrieve that information with common API.

Software like already mentioned SpeedFan and HWMonitor (from the makers of CPU-Z utility) work by painstakingly cataloging the various sensors and bus controllers, and implementing corresponding protocols, usually using kernel-mode driver to access SMBus devices.

To embed this functionality in you own software, you can either develop this functionality yourself (possibly reducing the amount of work by tailoring it to your specific hardware, and using linux code from www.lm-sensors.org as reference) or purchasing commercial library that implements it. One, used by HWMonitor, is available here.

good luck

这篇关于如何获取PC主板的温度(以及其他硬件统计信息)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆