And*_*son 10 indicator unity sensors temperature 13.10
System Monitor Indicator 带有显示 CPU 负载、内存使用情况和其他系统统计信息的选项,但目前不包括显示温度(CPU、HDD、SSD、GPU 等)的选项。
似乎内置了通过应用命令(通过单击“新建”)来添加其他传感器的功能。但是,我不知道怎么做,也找不到任何描述此功能的文档。
我的系统设置为报告温度,如下所示:
user@host:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +106.0°C)
temp2: +29.8°C (crit = +106.0°C)
coretemp-isa-0000
Adapter: ISA adapter
Physical id 0: +79.0°C (high = +87.0°C, crit = +105.0°C)
Core 0: +79.0°C (high = +87.0°C, crit = +105.0°C)
Core 1: +77.0°C (high = +87.0°C, crit = +105.0°C)
pkg-temp-0-virtual-0
Adapter: Virtual device
temp1: +79.0°C
Run Code Online (Sandbox Code Playgroud)
这个问题指的是 13.04 raring 中的包 indicator-sysmonitor 0.4.3 版,尽管目前我在 13.10 saucy 安装上运行它,因为它尚未在 ppa 中更新:
fue*_*zig 11
System Monitor Indicator
非常简单/灵活。您基本上可以添加任何脚本作为自定义传感器。它产生的输出将出现在您放置占位符的位置。我正在使用它从这样的输出中提取信息sensors
:
sensors | grep temp1 | awk '{print $2}' | sed 's/+//'
Run Code Online (Sandbox Code Playgroud)
提取温度或
sensors | grep fan1 | awk '{print $2}'
Run Code Online (Sandbox Code Playgroud)
提取风扇速度。
只需单击New
,输入名称和描述以及上面下面的相应行,Command
如下所示:
PS:从 Ubuntu 12.04 升级到 14.04 后,该工具读取配置文件似乎有问题,导致我尝试添加传感器时崩溃。.indicator-sysmonitor.json
从我的主目录中删除解决了这个问题。
归档时间: |
|
查看次数: |
15803 次 |
最近记录: |