几个监控温度的东东

心之所在 | 2011/07/05

入夏后,几次笔记本都是CPU过热关机,没看到温度数字心里不踏实,折腾了下,面板上弄了两东西,左边是CPU第一个核心的温度,右边是NVIDIA显卡温度。

kde-look上这样的部件有2个:Simple CPU SensorVery simple CPU temperature,原理/代码都一样(取sensors反馈的数据),但我比较习惯Win上EVEREST的效果,所以用的是Very simple CPU temperature

事先需要安装lm_sensors,这东西你得先按照发行版自行配置好,这样就有了sensors命令。

qii@linux:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +63.0°C  (crit = +111.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +51.0°C  (high = +105.0°C, crit = +105.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:       +53.0°C  (high = +105.0°C, crit = +105.0°C)

下载后安装

 plasmapkg -i 121205-simple-cpu-temp.plasmoid

默认监控的是acpitz-virtual-0的问题,话说这是CPU总的问题?还是主板的问题?还是南桥的问题啊?我乱改了下代码,改成读取Core 0温度了,main.py http://paste.kde.org/91657/ (1月保质期)。

这东西改下代码可以拿来看NVIDIA显卡温度,打开 ~/.kde4/share/apps/plasma/plasmoids/ 复制simple-cpu-temp出来,把main.py 改成 http://paste.kde.org/91651/ (1月保质期),再把其它文件都打开,把cpu字样全改成gpu,最后

plasmapkg -i ./

这样凑合拿来看显卡温度……

那个系统监视器其实也能看温度的,新建标签,然后把sensor那部分内容拖到左边区域,之后拖边框隐藏掉右侧内容。

    泰达希尔-德鲁伊
    Tags:

    9 FEEDBACKS

    Leave a Reply to 右京样一 Cancel reply

    Your email address will not be published. Required fields are marked *

    Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

    This site uses Akismet to reduce spam. Learn how your comment data is processed.