mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-13 22:30:37 +08:00
translated
This commit is contained in:
parent
df3f55150a
commit
c330f2009b
@ -1,84 +0,0 @@
|
||||
Translating----geekpi
|
||||
|
||||
How To Check Laptop CPU Temperature In Ubuntu
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Monitor_temperature_Ubuntu.png)
|
||||
|
||||
Overheating of laptops is a common issue one faces these days. Monitoring hardware temperature may help you to diagnose why laptop is getting overheated. In this article, we’ll see **how to check CPU temperature in Ubuntu**.
|
||||
|
||||
We are going to use a GUI tool [Psensor][1] that allows you to monitor hardware temperature in Linux. With Psensor you can:
|
||||
|
||||
- monitor the temperature of the motherboard and CPU sensors
|
||||
- monitor the temperature of the NVidia GPUs
|
||||
- monitor the temperature of the Hard Disk Drives
|
||||
- monitor the rotation speed of the fans
|
||||
- monitor the CPU usage
|
||||
|
||||
Latest version of Psensor also provides applet indicator for Ubuntu and thus it makes the monitoring of hardware temperature even easier in Ubuntu. You can choose to display the temperature right in the top panel itself. It even sends a desktop notification when the temperature exceeds the limit.
|
||||
|
||||
### How to install Psensor in Ubuntu 15.04 and 14.04 ###
|
||||
|
||||
Before you install Psensor, you need to install and configure [lm-sensors][2], a command line utility for hardware monitoring. If you want to measure hard disk temperature, you need to install [hddtemp][3] as well. To install these tools, run the following command in a terminal:
|
||||
|
||||
sudo apt-get install lm-sensors hddtemp
|
||||
|
||||
Then start the detection of your hardware sensors:
|
||||
|
||||
sudo sensors-detect
|
||||
|
||||
To make sure that it works, run the command below:
|
||||
|
||||
sensors
|
||||
|
||||
It will give you an output like:
|
||||
|
||||
acpitz-virtual-0
|
||||
Adapter: Virtual device
|
||||
temp1: +43.0°C (crit = +98.0°C)
|
||||
|
||||
coretemp-isa-0000
|
||||
Adapter: ISA adapter
|
||||
Physical id 0: +44.0°C (high = +100.0°C, crit = +100.0°C)
|
||||
Core 0: +41.0°C (high = +100.0°C, crit = +100.0°C)
|
||||
Core 1: +40.0°C (high = +100.0°C, crit = +100.0°C)
|
||||
|
||||
If everything seems alright, proceed with the installation of Psensor by using the command below:
|
||||
|
||||
sudo apt-get install psensor
|
||||
|
||||
Once installed, run the application by looking for it in Unity Dash. At first run, you should configure on what stats do you want to collect in Psensor.
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu.jpeg)
|
||||
|
||||
### Display temperature in the panel ###
|
||||
|
||||
If you want to show the temperature in the top panel, go to **Sensor Preferences**:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu_1.jpeg)
|
||||
|
||||
Then under the **Application Indicator** menu, select the component for which you want to display the temperature and then check the **Display sensor in the label** option.
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu_2.jpeg)
|
||||
|
||||
### Start Psensor at each start up ###
|
||||
|
||||
Go to **Preferences->Startup** and the check **Launch on session startup** to start Psensor at each boot.
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu_3.jpeg)
|
||||
|
||||
That’s it. All you need to monitor the CPU temperature is here. You can keep an eye on it and it may help you find out which process is overheating your computer.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/check-laptop-cpu-temperature-ubuntu/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/abhishek/
|
||||
[1]:http://wpitchoune.net/blog/psensor/
|
||||
[2]:http://www.lm-sensors.org/
|
||||
[3]:https://wiki.archlinux.org/index.php/Hddtemp
|
@ -0,0 +1,83 @@
|
||||
如何在Ubuntu中检查笔记本CPU的温度
|
||||
================================================================================
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Monitor_temperature_Ubuntu.png)
|
||||
|
||||
笔记本过热是最近一个常见的问题。监控硬件温度或许可以帮助你诊断笔记本为什么会过热。本篇中,我们会**了解如何在Ubuntu中检查CPU的温度**。
|
||||
|
||||
我们将使用一个GUI工具[Psensor][1],它允许你在Linux中监控硬件温度。用Psensor你可以:
|
||||
|
||||
- 监控cpu和主板的温度
|
||||
- 监控NVidia GPU的文档
|
||||
- 监控硬盘的温度
|
||||
- 监控风扇的速度
|
||||
- 监控CPU的利用率
|
||||
|
||||
Psensor最新的版本同样提供了Ubuntu中的指示小程序,这样使得在Ubuntu中监控温度变得更加容易。你可以选择在面板的右上角显示温度。它还会在温度上过阈值后通知。
|
||||
|
||||
|
||||
### 如何在Ubuntu 15.04 和 14.04中安装Psensor ###
|
||||
|
||||
在安装Psensor前,你需要安装和配置[lm-sensors][2],一个用于硬件监控的命令行工具。如果你想要测量磁盘温度,你还需要安装[hddtemp][3]。要安装这些工具,运行下面的这些命令:
|
||||
|
||||
sudo apt-get install lm-sensors hddtemp
|
||||
|
||||
接着开始检测硬件传感器:
|
||||
|
||||
sudo sensors-detect
|
||||
|
||||
要确保已经工作,运行下面的命令:
|
||||
|
||||
sensors
|
||||
|
||||
它会给出下面这样的输出:
|
||||
|
||||
acpitz-virtual-0
|
||||
Adapter: Virtual device
|
||||
temp1: +43.0°C (crit = +98.0°C)
|
||||
|
||||
coretemp-isa-0000
|
||||
Adapter: ISA adapter
|
||||
Physical id 0: +44.0°C (high = +100.0°C, crit = +100.0°C)
|
||||
Core 0: +41.0°C (high = +100.0°C, crit = +100.0°C)
|
||||
Core 1: +40.0°C (high = +100.0°C, crit = +100.0°C)
|
||||
|
||||
如果一切看上去没问题,使用下面的命令安装Psensor:
|
||||
|
||||
sudo apt-get install psensor
|
||||
|
||||
安装完成后,在Unity Dash中运行程序。第一次运行时,你应该配置Psensor该监控什么状态。
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu.jpeg)
|
||||
|
||||
### 在面板显示温度 ###
|
||||
|
||||
如果你想要在面板中显示温度,进入**Sensor Preferences**:
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu_1.jpeg)
|
||||
|
||||
在 **Application Indicator** 菜单下,选择你想要显示温度的组件并勾上 **Display sensor in the label** 选项。
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu_2.jpeg)
|
||||
|
||||
### 每次启动启动Psensor ###
|
||||
|
||||
进入 **Preferences->Startup** 并选择 **Launch on session startup** 使每次启动时启动Psensor。
|
||||
|
||||
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2015/05/Psensor_Ubuntu_3.jpeg)
|
||||
|
||||
就是这样。你所要做的就是在这里监控CPU温度。你可以时刻注意并帮助你找出使计算机过热的进程。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: http://itsfoss.com/check-laptop-cpu-temperature-ubuntu/
|
||||
|
||||
作者:[Abhishek][a]
|
||||
译者:[geekpi](https://github.com/geekpi)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:http://itsfoss.com/author/abhishek/
|
||||
[1]:http://wpitchoune.net/blog/psensor/
|
||||
[2]:http://www.lm-sensors.org/
|
||||
[3]:https://wiki.archlinux.org/index.php/Hddtemp
|
Loading…
Reference in New Issue
Block a user