This is a pocket-size guide on How to Monitor Laptop CPU Temperature in addition to Hard Disk inward Linux – CLI Command Line in addition to Visual. In this guide nosotros volition demonstrate few methods to popular off temperatures.
Commonly used tools to Monitor Laptop CPU Temperature in addition to Hard Disk:
- cat temperature file. (no additional software required).
- Using ACPI tool (acpi installation required)
- Using sensors tools (lm-sensors installation required)
1. The elite way, truthful cat the temperature file:
# truthful cat /proc/acpi/thermal_zone/THM/temperature
Sample outputs:
temperature: 55 C
That’s it, no software’s required.
2. Old schoolhouse CLI, using ACPI
Installation
In Debian season linux such every bit Debian, Ubuntu, Kali, role the next command:
# apt-get install acpi
Usage
# acpi -t
Sample Output:
Thermal 0: ok, 55.0 degrees C
Thermal 1: ok, 54.0 degrees C
You tin banking concern fit all the condition together:
# acpi -V
Sample Output:
Battery 0: Discharging, 96%, 02:33:55 remaining
Battery 0: blueprint capacity 1773 mAh, concluding amount capacity 1723 mAh = 97%
Adapter 0: off-line
Thermal 0: ok, 55.0 degrees C
Thermal 0: trip yell for 0 switches to fashion critical at temperature 105.0 degrees C
Thermal 0: trip yell for 1 switches to fashion passive at temperature 90.5 degrees C
Thermal 1: ok, 54.0 degrees C
Thermal 1: trip yell for 0 switches to fashion critical at temperature 127.0 degrees C
Cooling 0: LCD 8 of 15
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
acpi tin also move used to banking concern fit battery in addition to ability status. See to a greater extent than in How to banking concern fit your Laptop Battery Status from CLI Command Line inward Linux
3. Using Sensors tools – The amount thrust
Installation
The next packages demand to move installed
lm-sensors – a hardware wellness monitoring packet for Linux. It allows you lot to access data from temperature, voltage, in addition to fan speed sensors. It industrial plant amongst nearly newer systems
hddtemp – monitors in addition to reports the temperature of PATA, SATA or SCSI difficult drives past times reading Self-Monitoring Analysis in addition to Reporting Technology (S.M.A.R.T.) data on drives that back upward this feature
sensors-applet – an applet for the GNOME panel that displays readings from hardware sensors, including temperatures, fan speeds in addition to voltage readings
computertemp – footling applet for the GNOME desktop that shows the temperature of your CPU in addition to disks inward the panel.
Both sensors-applet and computertemp are applets that tin move added to GNOME panel – you lot create non demand both. Which ane to role is your personal preference.
Open terminal window in addition to type the next command
# apt-get install lm-sensors hddtemp sensors-applet computertemp
Before nosotros tin monitor the temperatures nosotros demand to configure the sensors.sensors-detect command helps create upward one's heed which heart modules demand to move loaded to role lm_sensors nearly effectively.
Open terminal window in addition to type the next command
# sensors-detect
You volition move asked a few questions. It is to a greater extent than oftentimes than non rubber in addition to recommended to direct maintain the default answers to all questions except the concluding ane – the default is NO. You demand to reply aye then that the required entries are made inward /etc/modules file. Next footstep is to charge the novel modules into the kernel
# /etc/init.d/module-init-tools
Now that you lot direct maintain everything inward house you lot tin monitor the CPU in addition to difficult get temperatures either from the ascendence trouble or add together an applet to the GNOME panel.
CLI Options
Open terminal window in addition to type the next command(s)
sensors
Check Hard Disk temperature from CLI
# hddtemp /dev/sda
Sample Output
Using sensors applet
Add sensors applet to the panel
- Right click on the top or bottom panel
- Click Add to Panel
- Scroll downward in addition to pick out Hardware Sensors Monitor
- Click Add
- Click Close
By default sensors applet does non display difficult get temperature. To add together it.
- Right click on the applet in addition to pick out preferences
- Select Sensors tab
- Expand hddtemp
- Check the box inward Enabled
- Click Close
You should forthwith run into the CPU in addition to difficult get temperatures inward your panel
Using computertemp applet
- Right click on the top or bottom panel
- Click Add to Panel
- Scroll downward in addition to pick out Computer Temperature Monitor
- Click Add
- Click Close
To display difficult get temperature you lot demand to add together approximately other re-create of the computertemp applet.
- Repeat the steps to a higher house in addition to add together the computertemp applet to the panel
- Right the newly added computertemp applet in addition to pick out preferences
- Select HDDTEMP every bit the sensor to monitor
- Select /dev/sda every bit the Thermal Zone
- Click Close
You should forthwith run into the CPU in addition to difficult get temperatures inward your panel
End of guide How to Monitor Laptop CPU Temperature in addition to Hard Disk inward Linux – CLI Command Line in addition to Visual.