How to Check CPU Voltage on Linux: A Quick, Step‑by‑Step Guide
Ever wondered whether your processor is running hot enough—or perhaps too hot? On Linux you can peek under the hood without rebooting into the BIOS. This short walk‑through shows you the most reliable ways to read the current CPU voltage, plus a few hints on what those numbers mean.
Why Monitoring CPU Voltage Matters
Voltage isn’t just a geeky detail; it directly influences power draw, heat generation, and long‑term reliability. A sudden spike can hint at a failing regulator, while an unexpectedly low reading might indicate aggressive power‑saving modes.
That said, modern CPUs dynamically adjust voltage on the fly, so a simple snapshot tells only part of the story.
Tools You Can Use
- lm-sensors – classic daemon that reports temps, voltages, and fan speeds.
- turbostat – part of the linux-tools package, gives per‑core stats in real time.
- /sys filesystem – direct kernel interfaces for voltage and frequency.
- cpupower – more than a governor toggle; it can dump hardware counters.
All of these utilities are available in the main repositories of most distributions.
Step‑by‑Step: Checking Voltage with lm‑sensors
First, install the package:
sudo apt-get install lm-sensors # Debian/Ubuntusudo dnf install lm_sensors # Fedora
Run the detection helper once:
sudo sensors-detectAnswer “yes” to the prompts you’re comfortable with; the script will load the appropriate kernel modules. After that, a simple sensors call displays everything:
$ sensorscoretemp-isa-0000
Adapter: ISA adapter
Package id 0: +45.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +44.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +45.0°C (high = +80.0°C, crit = +100.0°C)
acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C
Look for lines labelled “Vcore” or “CPU Voltage” – not every board exposes them, but when they appear you’ll see a value in volts, e.g., “Vcore: +1.12V”.
Alternative: Reading Directly from /sys
If lm‑sensors shows nothing, the kernel may still expose the regulator’s output. Browse the power‑capability directory:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freqcat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_volt
On many Intel chips the voltage file is called cpuinfo_cur_volt and returns the value in millivolts. For example:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_volt1120
That translates to 1.120 V. AMD processors often use a different path, such as /sys/devices/system/cpu/cpufreq/policy0/ with a file named voltage or similar.
Using turbostat for Live Monitoring
When you need per‑core granularity, turbostat is a handy companion. Install the tool:
sudo apt-get install linux-tools-common linux-tools-generic # Debian/Ubuntusudo dnf install kernel-tools # Fedora
Run it with root privileges for a quick readout:
sudo turbostat --show Core,CPU,Avg_MHz,Power,TempThe “Power” column includes an estimate of the CPU’s electrical consumption, while the “CPU” field often prints the voltage in volts. Keep in mind the figures are averaged over the sampling interval, so they smooth out rapid fluctuations.
Understanding the Numbers
Most modern CPUs operate between 0.7 V and 1.4 V, depending on the workload. A typical idle voltage hovers around 0.9 V, whereas a turbo‑boosted core may climb to 1.2 V or higher. If you consistently see values near the top of the spec sheet, double‑check your cooling solution.
Don’t mistake a brief spike for a problem—voltage‑frequency scaling (AVFS) deliberately nudges the regulator up and down multiple times per second.
Tips and Common Pitfalls
- Check BIOS settings first. Some firmware disables voltage reporting to the OS for security reasons.
- Use a recent kernel. Older releases may lack the necessary
sysfsentries for newer CPUs. - Beware of sensor duplication.
lm‑sensorscan list the same voltage twice under different chip names, which can be confusing. - Don’t trust a single reading. Run the command a few times or use
watchto observe trends.
If you’re tweaking power settings (for instance, with cpupower frequency-set), always monitor the voltage afterward. A sudden drop below the manufacturer’s minimum can cause instability.
Putting It All Together
In practice, most users start with lm‑sensors because it’s straightforward and integrates well with system monitors like conky or GNOME’s built‑in panels. When that falls short, the /sys interface offers a raw look, and turbostat gives you a live chart of what’s happening under load.
Armed with these tools, you can keep an eye on your processor’s voltage, catch anomalies early, and make informed decisions about overclocking, undervolting, or simply reassuring yourself that everything runs within safe limits.