Windows
Linux
System & Storage
System Info
Windows wmic temperature / Core Temp equivalent in Linux
Displays temperature readings from CPU, GPU, and motherboard sensors.
Windows
→
wmic temperature / Core Temp
Linux equivalents
sudo apt install lm-sensors && sensors
sudo dnf install lm_sensors && sensors
sudo pacman -S lm_sensors && sensors
Overview
What this command does
Displays temperature readings from CPU, GPU, and motherboard sensors.
Migration tip: Run
sudo sensors-detect once to auto-detect and configure which sensors are available, then use sensors to read them. watch -n 2 sensors updates every 2 seconds.Practical tasks
Common use cases
Read CPU and hardware temperatures
Displays temperature readings from CPU, GPU, and motherboard sensors.
sensors
All temperature and fan speed readings
sudo sensors-detect
Detect available sensors (run once)
watch -n 2 sensors
Live temperature monitor
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
sudo apt install lm-sensors
sudo sensors-detect
sensors
watch -n 2 sensors
Walkthrough
Examples with explanations
# Windows: no built-in — use Core Temp or HWiNFO64
sudo apt install lm-sensors
sudo sensors-detect # run once to detect
sensors
Core 0: +42.0°C (high = +86.0°C)
Core 1: +41.0°C
# Live monitor:
watch -n 2 sensors
Reference
Common options and variations
| Command or option | Use |
|---|---|
sensors | All temperature and fan speed readings |
sudo sensors-detect | Detect available sensors (run once) |
watch -n 2 sensors | Live temperature monitor |
sensors -j | JSON output for scripting |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command can differ by distro defaults or package manager.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | apt | sudo apt install lm-sensors && sensors |
Run sudo sensors-detect if sensors are missing. |
| Fedora | dnf | sudo dnf install lm_sensors && sensors |
Fedora package uses lm_sensors name. |
| Arch | pacman | sudo pacman -S lm_sensors && sensors |
Run sudo sensors-detect if needed. |
Keep learning