

Ubuntu 18.04: libsensors4, version 3.4.0-4 sudo apt install libsensors4 The lm-sensors project (and therefore the sensors command) makes use of the libsensor library the libraries and package are: # first let the drastic effect of the sudo command decayĬOMMAND="rdmsr -bitfield 22:16 -u 0x1B1"ĬOMMAND2="cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq"Īnd here is some sample output, where I add some CPU load after awhile (temp goes from 31 to 73 degrees): $ sudo.

# Also CPU0 frequency (1 is good enough, when allĮcho. # Note: it is on purpose that -a is not used. Here is a simple script to monitor the temperature (and CPU frequency) manually: #! /bin/dash The Tcc for my older i7-2600K is 98 degrees. In my case, I want bits 22-16 of the MSR at 0x1B1, aka IA32_PACKAGE_THERM_STATUS. Refer to the Intel® 64 and IA-32 Architectures Software Developer’s Manual, or in your case the AMD equivalent. The first thing to note is, in this case, what is read out of the MSR is relative to the Tcc, the limit temperature, so an additional calculation is required to determine the actual temperature. This answer is about one way to monitor processor temperature manually for some Intel processors via accessing the Machine Specific Registers (MSR) directly.
