How to get core temperature of haswell i7 cores in i3statusLaptop running ~30° hotter than normal; CPU/Load...
"Will flex for food". What does this phrase mean?
Is the EU really banning "toxic propellants" in 2020? How is that going to work?
Best Ergonomic Design for a handheld ranged weapon
How to derive trigonometric Cartesian equation from parametric
Reasons for using monsters as bioweapons
How did Biff return to 2015 from 1955 without a lightning strike?
What Marvel character has this 'W' symbol?
Is this mechanically safe?
What are the effects of the elements on 3D printed objects made with "infused" PLA
Python π = 1 + (1/2) + (1/3) + (1/4) - (1/5) + (1/6) + (1/7) + (1/8) + (1/9) - (1/10) ...1748 Euler
How to prevent a single-element caster from being useless against immune foes?
Does the problem of P vs NP come under the category of Operational Research?
"Fewer errors means better products" or "Fewer errors mean better products"?
Skipping same old introductions
Why should I use a big powerstone instead of smaller ones?
Please explain the difference in the order of naming Tzelafchad's daughters
The grades of the students in a class
Backpacking with incontinence
Conflict between senior and junior members
How is Sword Coast North governed?
mv Command Deleted Files In Source Directory and Target Directory
Just how much information should you share with a former client?
Can birds evolve without trees?
Security measures that could plausibly last 150+ years?
How to get core temperature of haswell i7 cores in i3status
Laptop running ~30° hotter than normal; CPU/Load is reportedly normal. What could cause this and how can I diagnose it?CPU temperature in i3 statusbarWhere can I find cpu temperature and frequency without any specific command?Intel Turbo Boost apparently activated for no reason?Lm_sensors not reading gfx card temperature rightLower temperature thresholds for sensorsHow to check the cpu temperatures core by core?discrepancy between number of cores and thermal zones in `/sys/class/thermal/`Reasons for high Memory Temperature?How to find the hexadecimal address of temperature sensor?Thermald throttle unsupported CPU after certain temperature using coretempRyzen/Threadripper temperature sensors: Which senors are related to which kernel modules and how to enable themCPU temperatures in linux: throttling or wrong reading?Why is k10temp reporting my temperature to be exactly 255.00C?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I want to use i3status to display my CPU-Core temperatures (haswell i7). However the setting:
order += "cpu_temperature 1"
#...
cpu_temperature 1{
format = "T: %degree °C"
}
#
doesn't display the correct core temperature. The numbers it shows seem to correspond to the value xsensors shows for temp1, if I change the 1 to 2 above it corresponds to xsensors temp2. Trying 3 or 4 doesn't have any effect. However I want to get the true core temperatures of all 4 cores with i3 status. How can I do this?
temperature sensors i3
add a comment |
I want to use i3status to display my CPU-Core temperatures (haswell i7). However the setting:
order += "cpu_temperature 1"
#...
cpu_temperature 1{
format = "T: %degree °C"
}
#
doesn't display the correct core temperature. The numbers it shows seem to correspond to the value xsensors shows for temp1, if I change the 1 to 2 above it corresponds to xsensors temp2. Trying 3 or 4 doesn't have any effect. However I want to get the true core temperatures of all 4 cores with i3 status. How can I do this?
temperature sensors i3
add a comment |
I want to use i3status to display my CPU-Core temperatures (haswell i7). However the setting:
order += "cpu_temperature 1"
#...
cpu_temperature 1{
format = "T: %degree °C"
}
#
doesn't display the correct core temperature. The numbers it shows seem to correspond to the value xsensors shows for temp1, if I change the 1 to 2 above it corresponds to xsensors temp2. Trying 3 or 4 doesn't have any effect. However I want to get the true core temperatures of all 4 cores with i3 status. How can I do this?
temperature sensors i3
I want to use i3status to display my CPU-Core temperatures (haswell i7). However the setting:
order += "cpu_temperature 1"
#...
cpu_temperature 1{
format = "T: %degree °C"
}
#
doesn't display the correct core temperature. The numbers it shows seem to correspond to the value xsensors shows for temp1, if I change the 1 to 2 above it corresponds to xsensors temp2. Trying 3 or 4 doesn't have any effect. However I want to get the true core temperatures of all 4 cores with i3 status. How can I do this?
temperature sensors i3
temperature sensors i3
edited Aug 13 '13 at 13:00
slm♦
265k73 gold badges574 silver badges719 bronze badges
265k73 gold badges574 silver badges719 bronze badges
asked Aug 4 '13 at 9:01
studentstudent
7,39517 gold badges70 silver badges131 bronze badges
7,39517 gold badges70 silver badges131 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
i3status
Using i3status I believe you can change your configuration slightly so that it gets the CPU's core temperature directly from /sys by providing a path to its value. So change your rule to something like this:
order += "cpu_temperature 1"
# and more if you like...
# order += "cpu_temperature 2"
#...
cpu_temperature 1 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
# cpu_temperature 2 {
# format = "T: %degrees °C"
# path = "/sys/devices/platform/coretemp.0/temp2_input"
# }
Here are 4 other ways to get your temp:
/proc
$ cat /proc/acpi/thermal_zone/THM0/temperature
temperature: 72 C
acpi
$ acpi -t
Thermal 0: ok, 64.0 degrees C
From the acpi man page:
-t | --thermal
show thermal information
/sys
$ cat /sys/bus/acpi/devices/LNXTHERM:01/thermal_zone/temp
70000
lm_sensors
If you install the lmsensors package like so:
Fedora/CentOS/RHEL:
$ sudo yum install lm_sensors
Debian/Ubuntu:
$ sudo apt-get install lm-sensors
Detect your hardware:
$ sudo sensors-detect
You can also install the modules manually, for example:
$ sudo modprobe coretemp
$ modprobe i2c-i801
NOTE: The sensor-detect should detect your specific hardware, so you might need to modprobe <my driver> instead for the 2nd command above.
On my system I have the following i2c modules loaded:
$ lsmod | grep i2c
i2c_i801 11088 0
i2c_algo_bit 5205 1 i915
i2c_core 27212 5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
Now run the sensors app to query the resulting temperatures:
$ sudo sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +68.0°C (crit = +100.0°C)
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 3831 RPM
temp1: +68.0°C
temp2: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +56.0°C (high = +95.0°C, crit = +105.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +57.0°C (high = +95.0°C, crit = +105.0°C)
This is on my Thinkpad T410 which has i5 M560. Here's one of the cores:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 5319.22
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
/proc/acpi/thermal_zonedoesn't exist in my case (ubuntu 13.04)
– student
Aug 13 '13 at 10:10
@student - OK I see that you're asking for how to do it with i3status specifically, never heard of that tool, give me a sec to figure it out using that tool.
– slm♦
Aug 13 '13 at 13:01
@student - see updates.
– slm♦
Aug 13 '13 at 13:12
Thanks, this works. Withtemp2_inputone gets the temperature of the second core and so on...
– student
Aug 13 '13 at 20:16
@student - SWEET! BTW, thanks for fixing my typo!
– slm♦
Aug 13 '13 at 20:16
add a comment |
In my case I had to read the value from:
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
My i3status config:
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
}
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f85468%2fhow-to-get-core-temperature-of-haswell-i7-cores-in-i3status%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
i3status
Using i3status I believe you can change your configuration slightly so that it gets the CPU's core temperature directly from /sys by providing a path to its value. So change your rule to something like this:
order += "cpu_temperature 1"
# and more if you like...
# order += "cpu_temperature 2"
#...
cpu_temperature 1 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
# cpu_temperature 2 {
# format = "T: %degrees °C"
# path = "/sys/devices/platform/coretemp.0/temp2_input"
# }
Here are 4 other ways to get your temp:
/proc
$ cat /proc/acpi/thermal_zone/THM0/temperature
temperature: 72 C
acpi
$ acpi -t
Thermal 0: ok, 64.0 degrees C
From the acpi man page:
-t | --thermal
show thermal information
/sys
$ cat /sys/bus/acpi/devices/LNXTHERM:01/thermal_zone/temp
70000
lm_sensors
If you install the lmsensors package like so:
Fedora/CentOS/RHEL:
$ sudo yum install lm_sensors
Debian/Ubuntu:
$ sudo apt-get install lm-sensors
Detect your hardware:
$ sudo sensors-detect
You can also install the modules manually, for example:
$ sudo modprobe coretemp
$ modprobe i2c-i801
NOTE: The sensor-detect should detect your specific hardware, so you might need to modprobe <my driver> instead for the 2nd command above.
On my system I have the following i2c modules loaded:
$ lsmod | grep i2c
i2c_i801 11088 0
i2c_algo_bit 5205 1 i915
i2c_core 27212 5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
Now run the sensors app to query the resulting temperatures:
$ sudo sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +68.0°C (crit = +100.0°C)
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 3831 RPM
temp1: +68.0°C
temp2: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +56.0°C (high = +95.0°C, crit = +105.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +57.0°C (high = +95.0°C, crit = +105.0°C)
This is on my Thinkpad T410 which has i5 M560. Here's one of the cores:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 5319.22
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
/proc/acpi/thermal_zonedoesn't exist in my case (ubuntu 13.04)
– student
Aug 13 '13 at 10:10
@student - OK I see that you're asking for how to do it with i3status specifically, never heard of that tool, give me a sec to figure it out using that tool.
– slm♦
Aug 13 '13 at 13:01
@student - see updates.
– slm♦
Aug 13 '13 at 13:12
Thanks, this works. Withtemp2_inputone gets the temperature of the second core and so on...
– student
Aug 13 '13 at 20:16
@student - SWEET! BTW, thanks for fixing my typo!
– slm♦
Aug 13 '13 at 20:16
add a comment |
i3status
Using i3status I believe you can change your configuration slightly so that it gets the CPU's core temperature directly from /sys by providing a path to its value. So change your rule to something like this:
order += "cpu_temperature 1"
# and more if you like...
# order += "cpu_temperature 2"
#...
cpu_temperature 1 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
# cpu_temperature 2 {
# format = "T: %degrees °C"
# path = "/sys/devices/platform/coretemp.0/temp2_input"
# }
Here are 4 other ways to get your temp:
/proc
$ cat /proc/acpi/thermal_zone/THM0/temperature
temperature: 72 C
acpi
$ acpi -t
Thermal 0: ok, 64.0 degrees C
From the acpi man page:
-t | --thermal
show thermal information
/sys
$ cat /sys/bus/acpi/devices/LNXTHERM:01/thermal_zone/temp
70000
lm_sensors
If you install the lmsensors package like so:
Fedora/CentOS/RHEL:
$ sudo yum install lm_sensors
Debian/Ubuntu:
$ sudo apt-get install lm-sensors
Detect your hardware:
$ sudo sensors-detect
You can also install the modules manually, for example:
$ sudo modprobe coretemp
$ modprobe i2c-i801
NOTE: The sensor-detect should detect your specific hardware, so you might need to modprobe <my driver> instead for the 2nd command above.
On my system I have the following i2c modules loaded:
$ lsmod | grep i2c
i2c_i801 11088 0
i2c_algo_bit 5205 1 i915
i2c_core 27212 5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
Now run the sensors app to query the resulting temperatures:
$ sudo sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +68.0°C (crit = +100.0°C)
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 3831 RPM
temp1: +68.0°C
temp2: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +56.0°C (high = +95.0°C, crit = +105.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +57.0°C (high = +95.0°C, crit = +105.0°C)
This is on my Thinkpad T410 which has i5 M560. Here's one of the cores:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 5319.22
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
/proc/acpi/thermal_zonedoesn't exist in my case (ubuntu 13.04)
– student
Aug 13 '13 at 10:10
@student - OK I see that you're asking for how to do it with i3status specifically, never heard of that tool, give me a sec to figure it out using that tool.
– slm♦
Aug 13 '13 at 13:01
@student - see updates.
– slm♦
Aug 13 '13 at 13:12
Thanks, this works. Withtemp2_inputone gets the temperature of the second core and so on...
– student
Aug 13 '13 at 20:16
@student - SWEET! BTW, thanks for fixing my typo!
– slm♦
Aug 13 '13 at 20:16
add a comment |
i3status
Using i3status I believe you can change your configuration slightly so that it gets the CPU's core temperature directly from /sys by providing a path to its value. So change your rule to something like this:
order += "cpu_temperature 1"
# and more if you like...
# order += "cpu_temperature 2"
#...
cpu_temperature 1 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
# cpu_temperature 2 {
# format = "T: %degrees °C"
# path = "/sys/devices/platform/coretemp.0/temp2_input"
# }
Here are 4 other ways to get your temp:
/proc
$ cat /proc/acpi/thermal_zone/THM0/temperature
temperature: 72 C
acpi
$ acpi -t
Thermal 0: ok, 64.0 degrees C
From the acpi man page:
-t | --thermal
show thermal information
/sys
$ cat /sys/bus/acpi/devices/LNXTHERM:01/thermal_zone/temp
70000
lm_sensors
If you install the lmsensors package like so:
Fedora/CentOS/RHEL:
$ sudo yum install lm_sensors
Debian/Ubuntu:
$ sudo apt-get install lm-sensors
Detect your hardware:
$ sudo sensors-detect
You can also install the modules manually, for example:
$ sudo modprobe coretemp
$ modprobe i2c-i801
NOTE: The sensor-detect should detect your specific hardware, so you might need to modprobe <my driver> instead for the 2nd command above.
On my system I have the following i2c modules loaded:
$ lsmod | grep i2c
i2c_i801 11088 0
i2c_algo_bit 5205 1 i915
i2c_core 27212 5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
Now run the sensors app to query the resulting temperatures:
$ sudo sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +68.0°C (crit = +100.0°C)
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 3831 RPM
temp1: +68.0°C
temp2: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +56.0°C (high = +95.0°C, crit = +105.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +57.0°C (high = +95.0°C, crit = +105.0°C)
This is on my Thinkpad T410 which has i5 M560. Here's one of the cores:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 5319.22
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
i3status
Using i3status I believe you can change your configuration slightly so that it gets the CPU's core temperature directly from /sys by providing a path to its value. So change your rule to something like this:
order += "cpu_temperature 1"
# and more if you like...
# order += "cpu_temperature 2"
#...
cpu_temperature 1 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/temp1_input"
}
# cpu_temperature 2 {
# format = "T: %degrees °C"
# path = "/sys/devices/platform/coretemp.0/temp2_input"
# }
Here are 4 other ways to get your temp:
/proc
$ cat /proc/acpi/thermal_zone/THM0/temperature
temperature: 72 C
acpi
$ acpi -t
Thermal 0: ok, 64.0 degrees C
From the acpi man page:
-t | --thermal
show thermal information
/sys
$ cat /sys/bus/acpi/devices/LNXTHERM:01/thermal_zone/temp
70000
lm_sensors
If you install the lmsensors package like so:
Fedora/CentOS/RHEL:
$ sudo yum install lm_sensors
Debian/Ubuntu:
$ sudo apt-get install lm-sensors
Detect your hardware:
$ sudo sensors-detect
You can also install the modules manually, for example:
$ sudo modprobe coretemp
$ modprobe i2c-i801
NOTE: The sensor-detect should detect your specific hardware, so you might need to modprobe <my driver> instead for the 2nd command above.
On my system I have the following i2c modules loaded:
$ lsmod | grep i2c
i2c_i801 11088 0
i2c_algo_bit 5205 1 i915
i2c_core 27212 5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
Now run the sensors app to query the resulting temperatures:
$ sudo sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +68.0°C (crit = +100.0°C)
thinkpad-isa-0000
Adapter: ISA adapter
fan1: 3831 RPM
temp1: +68.0°C
temp2: +0.0°C
temp3: +0.0°C
temp4: +0.0°C
temp5: +0.0°C
temp6: +0.0°C
temp7: +0.0°C
temp8: +0.0°C
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +56.0°C (high = +95.0°C, crit = +105.0°C)
coretemp-isa-0002
Adapter: ISA adapter
Core 2: +57.0°C (high = +95.0°C, crit = +105.0°C)
This is on my Thinkpad T410 which has i5 M560. Here's one of the cores:
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU M 560 @ 2.67GHz
stepping : 5
cpu MHz : 1199.000
cache size : 3072 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat tpr_shadow vnmi flexpriority ept vpid
bogomips : 5319.22
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
edited Jan 30 '17 at 19:25
ljk
303 bronze badges
303 bronze badges
answered Aug 4 '13 at 19:26
slm♦slm
265k73 gold badges574 silver badges719 bronze badges
265k73 gold badges574 silver badges719 bronze badges
/proc/acpi/thermal_zonedoesn't exist in my case (ubuntu 13.04)
– student
Aug 13 '13 at 10:10
@student - OK I see that you're asking for how to do it with i3status specifically, never heard of that tool, give me a sec to figure it out using that tool.
– slm♦
Aug 13 '13 at 13:01
@student - see updates.
– slm♦
Aug 13 '13 at 13:12
Thanks, this works. Withtemp2_inputone gets the temperature of the second core and so on...
– student
Aug 13 '13 at 20:16
@student - SWEET! BTW, thanks for fixing my typo!
– slm♦
Aug 13 '13 at 20:16
add a comment |
/proc/acpi/thermal_zonedoesn't exist in my case (ubuntu 13.04)
– student
Aug 13 '13 at 10:10
@student - OK I see that you're asking for how to do it with i3status specifically, never heard of that tool, give me a sec to figure it out using that tool.
– slm♦
Aug 13 '13 at 13:01
@student - see updates.
– slm♦
Aug 13 '13 at 13:12
Thanks, this works. Withtemp2_inputone gets the temperature of the second core and so on...
– student
Aug 13 '13 at 20:16
@student - SWEET! BTW, thanks for fixing my typo!
– slm♦
Aug 13 '13 at 20:16
/proc/acpi/thermal_zone doesn't exist in my case (ubuntu 13.04)– student
Aug 13 '13 at 10:10
/proc/acpi/thermal_zone doesn't exist in my case (ubuntu 13.04)– student
Aug 13 '13 at 10:10
@student - OK I see that you're asking for how to do it with i3status specifically, never heard of that tool, give me a sec to figure it out using that tool.
– slm♦
Aug 13 '13 at 13:01
@student - OK I see that you're asking for how to do it with i3status specifically, never heard of that tool, give me a sec to figure it out using that tool.
– slm♦
Aug 13 '13 at 13:01
@student - see updates.
– slm♦
Aug 13 '13 at 13:12
@student - see updates.
– slm♦
Aug 13 '13 at 13:12
Thanks, this works. With
temp2_input one gets the temperature of the second core and so on...– student
Aug 13 '13 at 20:16
Thanks, this works. With
temp2_input one gets the temperature of the second core and so on...– student
Aug 13 '13 at 20:16
@student - SWEET! BTW, thanks for fixing my typo!
– slm♦
Aug 13 '13 at 20:16
@student - SWEET! BTW, thanks for fixing my typo!
– slm♦
Aug 13 '13 at 20:16
add a comment |
In my case I had to read the value from:
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
My i3status config:
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
}
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
In my case I had to read the value from:
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
My i3status config:
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
}
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
In my case I had to read the value from:
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
My i3status config:
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
}
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
In my case I had to read the value from:
/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input
My i3status config:
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input"
}
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered 35 mins ago
ElektryczneNozyceElektryczneNozyce
1
1
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
ElektryczneNozyce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f85468%2fhow-to-get-core-temperature-of-haswell-i7-cores-in-i3status%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown