<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>temperature Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/temperature/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Fri, 27 Sep 2019 22:49:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Check your CPU Temperature in Linux</title>
		<link>https://www.osradar.com/check-your-cpu-temperature-in-linux/</link>
					<comments>https://www.osradar.com/check-your-cpu-temperature-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Nabeel]]></dc:creator>
		<pubDate>Fri, 27 Sep 2019 22:49:54 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13937</guid>

					<description><![CDATA[<p>lm_sensors (Linux-monitoring sensors), is a free open source tool for Linux that provides tools and drivers for monitoring temperatures, voltage, humidity, and fans. It can also detect chassis intrusions. In this article we will install it and monitor CPU temperature using different commands. 1- Install EPEL Release if CentOS or RHEL dnf install -y epel-release [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/check-your-cpu-temperature-in-linux/">Check your CPU Temperature in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>lm_sensors (Linux-monitoring sensors), is a free open source tool for Linux that provides tools and drivers for monitoring temperatures, voltage, humidity, and fans. It can also detect chassis intrusions. In this article we will install it and monitor CPU temperature using different commands.</p>



<h2>1- Install EPEL Release if CentOS or RHEL</h2>



<pre class="wp-block-preformatted">dnf install -y epel-release</pre>



<h2>2- Install Linux Monitoring Sensors</h2>



<p><strong>Install lm sensor on RHEL 8 and CentOS 8 and Fedora</strong></p>



<pre class="wp-block-preformatted">dnf install -y lm_sensors</pre>



<p><strong>Install lm sensor on RHEL 7 and CentOS 7</strong></p>



<pre class="wp-block-preformatted">yum install -y lm_sensors</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="204" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/1-26-1024x204.png" alt="" class="wp-image-13941" srcset="https://www.osradar.com/wp-content/uploads/2019/09/1-26-1024x204.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/1-26-300x60.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/1-26-768x153.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/1-26-696x138.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/1-26-1068x212.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/1-26.png 1615w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Installing im sensor on CentOS 7</figcaption></figure>



<p><strong>If you are using Debian or Ubuntu use following command</strong></p>



<pre class="wp-block-preformatted">sudo apt-get install lm-sensors</pre>



<h2>3- Sensor Configuration</h2>



<p>Now, we need to make some configuration using below command after lm sensor installation. So if you want to go with default configuration simply hit enter key step by step.</p>



<pre class="wp-block-preformatted">sensors-detect</pre>



<h4>You will see similar steps during configuration.</h4>



<pre class="wp-block-preformatted">[root@osradar ~]# sensors-detect
 sensors-detect revision 3.4.0-8 (2016-06-01)
 System: Hewlett-Packard HP Compaq dc7900 Small Form Factor
 Board: Hewlett-Packard 3031h
 Kernel: 3.10.0-957.27.2.el7.x86_64 x86_64
 Processor: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (6/23/10)
 This program will help you determine which kernel modules you need
 to load to use lm_sensors most effectively. It is generally safe
 and recommended to accept the default answers to all questions,
 unless you know what you're doing.
 Some south bridges, CPUs or memory controllers contain embedded sensors.
 Do you want to scan for them? This is totally safe. (YES/no):
 Silicon Integrated Systems SIS5595…                       No
 VIA VT82C686 Integrated Sensors…                          No
 VIA VT8231 Integrated Sensors…                            No
 AMD K8 thermal sensors…                                   No
 AMD Family 10h thermal sensors…                           No
 AMD Family 11h thermal sensors…                           No
 AMD Family 12h and 14h thermal sensors…                   No
 AMD Family 15h thermal sensors…                           No
 AMD Family 16h thermal sensors…                           No
 AMD Family 17h thermal sensors…                           No
 AMD Family 15h power sensors…                             No
 AMD Family 16h power sensors…                             No
 Intel digital thermal sensor…                             Success!

     (driver `coretemp')
 Intel AMB FB-DIMM thermal sensor…                         No
 Intel 5500/5520/X58 thermal sensor…                       No
 VIA C7 thermal sensor…                                    No
 VIA Nano thermal sensor…                                  No
 Some Super I/O chips contain embedded sensors. We have to write to
 standard I/O ports to probe them. This is usually safe.
 Do you want to scan for Super I/O sensors? (YES/no):
 Probing for Super-I/O at 0x2e/0x2f
 Trying family <code>National Semiconductor/ITE'...               Yes Found unknown chip with ID 0x1911 Probing for Super-I/O at 0x4e/0x4f Trying family</code>National Semiconductor/ITE'…               No
 Trying family `SMSC'…                                     Yes
 Found unknown chip with ID 0x0b00
 Some systems (mainly servers) implement IPMI, a set of common interfaces
 through which system health data may be retrieved, amongst other things.
 We first try to get the information from SMBIOS. If we don't find it
 there, we have to read from arbitrary I/O ports to probe for such
 interfaces. This is normally safe. Do you want to scan for IPMI
 interfaces? (YES/no):
 Probing for <code>IPMI BMC KCS' at 0xca0...                      No Probing for</code>IPMI BMC SMIC' at 0xca8…                     No
 Some hardware monitoring chips are accessible through the ISA I/O ports.
 We have to write to arbitrary I/O ports to probe them. This is usually
 safe though. Yes, you do have ISA I/O ports even if you do not have any
 ISA slots! Do you want to scan the ISA I/O ports? (YES/no):
 Probing for <code>National Semiconductor LM78' at 0x290...       No Probing for</code>National Semiconductor LM79' at 0x290…       No
 Probing for <code>Winbond W83781D' at 0x290...                   No Probing for</code>Winbond W83782D' at 0x290…                   No
 Lastly, we can probe the I2C/SMBus adapters for connected hardware
 monitoring devices. This is the most risky part, and while it works
 reasonably well on most systems, it has been reported to cause trouble
 on some systems.

 Do you want to probe the I2C/SMBus adapters now? (YES/no):
 Sorry, no supported PCI bus adapters found.
 Module i2c-dev loaded successfully.
 Next adapter: i915 gmbus ssc (i2c-0)
 Do you want to scan it? (yes/NO/selectively):
 Next adapter: i915 gmbus vga (i2c-1)
 Do you want to scan it? (yes/NO/selectively):
 Next adapter: i915 gmbus panel (i2c-2)
 Do you want to scan it? (yes/NO/selectively):
 Next adapter: i915 gmbus dpc (i2c-3)
 Do you want to scan it? (yes/NO/selectively):
 Next adapter: i915 gmbus dpb (i2c-4)
 Do you want to scan it? (yes/NO/selectively):
 Next adapter: i915 gmbus dpd (i2c-5)
 Do you want to scan it? (yes/NO/selectively):
 Now follows a summary of the probes I have just done.

 Just press ENTER to continue:
 Driver `coretemp':
 Chip `Intel digital thermal sensor' (confidence: 9) 
 Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
 Unloading i2c-dev… OK
 [root@osradar ~]#</pre>



<p>So, you will see similar screen upon successful configuration.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="547" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/2-25-1024x547.png" alt="" class="wp-image-13942" srcset="https://www.osradar.com/wp-content/uploads/2019/09/2-25-1024x547.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/2-25-300x160.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/2-25-768x410.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/2-25-696x372.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/2-25-1068x571.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/2-25-786x420.png 786w, https://www.osradar.com/wp-content/uploads/2019/09/2-25.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Sensor has been installed successfully.</figcaption></figure>



<h2>4- See CPU Temperature</h2>



<p>Finally issue following command to see CPU temperature,</p>



<pre class="wp-block-preformatted">sensors</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="178" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/3-23-1024x178.png" alt="" class="wp-image-13943" srcset="https://www.osradar.com/wp-content/uploads/2019/09/3-23-1024x178.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/3-23-300x52.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/3-23-768x133.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/3-23-696x121.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/3-23-1068x186.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/3-23.png 1410w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Checking CPU temperature</figcaption></figure>



<p>So, you can see in above image the command &#8220;sensors&#8221; is showing number of CPU cores its current temperature. But in brackets its is also showing high and critical temperatures in degree centigrade. </p>



<p><strong>See temperature on Runtime</strong></p>



<pre class="wp-block-preformatted">watch sensors</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="125" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/4-22-1024x125.png" alt="" class="wp-image-13944" srcset="https://www.osradar.com/wp-content/uploads/2019/09/4-22-1024x125.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/4-22-300x37.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/4-22-768x94.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/4-22-696x85.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/4-22-1068x130.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/4-22.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Checking temperature on runtime</figcaption></figure>



<p><strong>Check temperature in Fahrenheit</strong></p>



<p>Then, what if you wanna see it in Fahrenheit, if you want to do so simply run below command.</p>



<pre class="wp-block-preformatted">sensors -f</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="173" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/09/5-16-1024x173.png" alt="" class="wp-image-13946" srcset="https://www.osradar.com/wp-content/uploads/2019/09/5-16-1024x173.png 1024w, https://www.osradar.com/wp-content/uploads/2019/09/5-16-300x51.png 300w, https://www.osradar.com/wp-content/uploads/2019/09/5-16-768x129.png 768w, https://www.osradar.com/wp-content/uploads/2019/09/5-16-696x117.png 696w, https://www.osradar.com/wp-content/uploads/2019/09/5-16-1068x180.png 1068w, https://www.osradar.com/wp-content/uploads/2019/09/5-16.png 1424w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Displaying CPU temperature in  Fahrenheit </figcaption></figure>



<p>That&#8217;s it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/check-your-cpu-temperature-in-linux/">Check your CPU Temperature in Linux</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/check-your-cpu-temperature-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
