Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #274088 > unrolled thread
| Started by | "Corey" <coreyh@free.fr> |
|---|---|
| First post | 2024-10-27 06:20 +0100 |
| Last post | 2024-10-29 00:00 +0100 |
| Articles | 8 — 5 participants |
Back to article view | Back to linux.debian.user
CPU temperature "Corey" <coreyh@free.fr> - 2024-10-27 06:20 +0100
Re: CPU temperature basti <mailinglist@unix-solution.de> - 2024-10-27 06:20 +0100
Re: CPU temperature Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-10-27 11:10 +0100
Re: CPU temperature David Christensen <dpchrist@holgerdanske.com> - 2024-10-27 17:40 +0100
Re: CPU temperature Charles Curley <charlescurley@charlescurley.com> - 2024-10-27 21:30 +0100
Re: CPU temperature David Christensen <dpchrist@holgerdanske.com> - 2024-10-27 23:40 +0100
Re: CPU temperature Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-10-28 16:50 +0100
Re: CPU temperature David Christensen <dpchrist@holgerdanske.com> - 2024-10-29 00:00 +0100
| From | "Corey" <coreyh@free.fr> |
|---|---|
| Date | 2024-10-27 06:20 +0100 |
| Subject | CPU temperature |
| Message-ID | <JC3QZ-4v5G-7@gated-at.bofh.it> |
where shall i check the CPU temperature in command line? my dell laptop gets hot and hot when debian run for some time. do you think it's due to cpu too busy? Thanks.
[toc] | [next] | [standalone]
| From | basti <mailinglist@unix-solution.de> |
|---|---|
| Date | 2024-10-27 06:20 +0100 |
| Message-ID | <JC3QZ-4v5G-9@gated-at.bofh.it> |
| In reply to | #274088 |
Hello, cat /sys/class/thermal/thermal_zone0/temp / 1000 = °C Work's for me on raspberry pi and Thinkpad Laptop. Best Regards Am 27.10.24 um 06:11 schrieb Corey: > where shall i check the CPU temperature in command line? > my dell laptop gets hot and hot when debian run for some time. do you think it's due to cpu too busy? > > Thanks. >
[toc] | [prev] | [next] | [standalone]
| From | Timothy M Butterworth <timothy.m.butterworth@gmail.com> |
|---|---|
| Date | 2024-10-27 11:10 +0100 |
| Message-ID | <JC8nD-4yvu-9@gated-at.bofh.it> |
| In reply to | #274088 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Oct 27, 2024 at 4:48 AM Corey <coreyh@free.fr> wrote: > where shall i check the CPU temperature in command line? > my dell laptop gets hot and hot when debian run for some time. do you > think it's due to cpu too busy? > LM-Sensors displays chipset temps and fan speeds. sudo apt install lm-sensors sensors -f > Thanks. > > -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄⠀⠀
[toc] | [prev] | [next] | [standalone]
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Date | 2024-10-27 17:40 +0100 |
| Message-ID | <JCet3-4Cfg-9@gated-at.bofh.it> |
| In reply to | #274088 |
On 10/26/24 22:11, Corey wrote:
> where shall i check the CPU temperature in command line?
> my dell laptop gets hot and hot when debian run for some time. do you think it's due to cpu too busy?
>
> Thanks.
My current daily driver is a Dell PowerEdge T30 Xeon E3-1225 v5:
2024-10-27 08:28:10 root@laalaa ~
# cat /etc/debian_version ; uname -a
11.11
Linux laalaa 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03)
x86_64 GNU/Linux
As suggested by another reader, I have also installed the package
"lm-sensors" to monitor hardware temperatures, etc..
I run the Xfce desktop and find it useful to install the following panel
plugins:
Sensor plugin
CPU Frequency Monitor
To allow the Sensor plugin access to hard disk temperatures, I have set
the set-user-ID bit on hddtemp(8):
# chmod u+s /usr/sbin/hddtemp
I tune the Sensor plugin to display the processor temperature and to
update once per second.
Once you can monitor the processor temperature against time, take note
of how quickly the processor temperature changes when load is applied
and when load is removed. Rapid rise and fall times may indicate the
processor heat sink compound has dried out and should be re-applied.
Prolonged fall times may indicate the heat sink/ heat pipe is clogged
with dust and should be cleaned.
Linux provides a governor to control how the processor responds to
workload. The Debian package "cpufrequtils" provides utilities to
interact with the governor:
# apt-get install cpufrequtils
I can see the list of available governors with cpufreq-info(1):
2024-10-27 08:32:05 root@laalaa ~
# cpufreq-info --governors
performance powersave
So, the governor choices on this machine are "performance" and "powersave".
cpufreq-info(1) can tell me the current minimum processor frequency,
current maximum processor frequency, and the current governor:
2024-10-27 08:32:20 root@laalaa ~
# cpufreq-info -p
800000 3700000 powersave
I can make changes with cpufreq-set(1). For example, if I want performance:
2024-10-27 08:33:40 root@laalaa ~
+ cpufreq-set -g performance
I can also adjust the minimum and maximum processor frequencies (subject
to hardware limits):
2024-10-27 09:00:21 root@laalaa ~
# cpufreq-set -d 3000000
2024-10-27 09:00:30 root@laalaa ~
# cpufreq-set -u 4000000
2024-10-27 09:00:34 root@laalaa ~
# cpufreq-info -p
3000000 3700000 performance
Going the other way:
2024-10-27 09:01:35 root@laalaa ~
# cpufreq-set -g powersave
2024-10-27 09:03:10 root@laalaa ~
# cpufreq-set -d 500000
2024-10-27 09:03:20 root@laalaa ~
# cpufreq-set -u 1000000
2024-10-27 09:03:22 root@laalaa ~
# cpufreq-info -p
800000 1000000 powersave
David
[toc] | [prev] | [next] | [standalone]
| From | Charles Curley <charlescurley@charlescurley.com> |
|---|---|
| Date | 2024-10-27 21:30 +0100 |
| Message-ID | <JCi3D-4Esc-3@gated-at.bofh.it> |
| In reply to | #274096 |
On Sun, 27 Oct 2024 09:36:32 -0700 David Christensen <dpchrist@holgerdanske.com> wrote: > To allow the Sensor plugin access to hard disk temperatures, I have > set the set-user-ID bit on hddtemp(8): > > # chmod u+s /usr/sbin/hddtemp hddtemp has been superseded by a kernel module, which you can enable like so: # enable getting the hard drive's temperature. echo drivetemp > /etc/modules-load.d/drivetemp.conf Now you can get rid of hddtemp. I use that with xfce and the sensor plugin you mentioned. -- Does anybody read signatures any more? https://charlescurley.com https://charlescurley.com/blog/
[toc] | [prev] | [next] | [standalone]
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Date | 2024-10-27 23:40 +0100 |
| Message-ID | <JCk5r-4FDs-1@gated-at.bofh.it> |
| In reply to | #274107 |
On 10/27/24 13:19, Charles Curley wrote: > On Sun, 27 Oct 2024 09:36:32 -0700 > David Christensen <dpchrist@holgerdanske.com> wrote: > >> To allow the Sensor plugin access to hard disk temperatures, I have >> set the set-user-ID bit on hddtemp(8): >> >> # chmod u+s /usr/sbin/hddtemp > > hddtemp has been superseded by a kernel module, which you can enable > like so: > > # enable getting the hard drive's temperature. > echo drivetemp > /etc/modules-load.d/drivetemp.conf > > Now you can get rid of hddtemp. > > I use that with xfce and the sensor plugin you mentioned. Thank you for the reply. :-) David
[toc] | [prev] | [next] | [standalone]
| From | Timothy M Butterworth <timothy.m.butterworth@gmail.com> |
|---|---|
| Date | 2024-10-28 16:50 +0100 |
| Message-ID | <JCAad-4TmB-3@gated-at.bofh.it> |
| In reply to | #274109 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Oct 27, 2024 at 10:13 PM David Christensen < dpchrist@holgerdanske.com> wrote: > On 10/27/24 13:19, Charles Curley wrote: > > On Sun, 27 Oct 2024 09:36:32 -0700 > > David Christensen <dpchrist@holgerdanske.com> wrote: > > > >> To allow the Sensor plugin access to hard disk temperatures, I have > >> set the set-user-ID bit on hddtemp(8): > >> > >> # chmod u+s /usr/sbin/hddtemp > > > > hddtemp has been superseded by a kernel module, which you can enable > > like so: > > > > # enable getting the hard drive's temperature. > > echo drivetemp > /etc/modules-load.d/drivetemp.conf > > > > Now you can get rid of hddtemp. > > > > I use that with xfce and the sensor plugin you mentioned. > > > Thank you for the reply. :-) > > > David > > You may want to try out the psensor program. Psensor makes graphs of CPU temperature. It has a server module that allows for remote monitoring as well. -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/ ⠈⠳⣄⠀⠀
[toc] | [prev] | [next] | [standalone]
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Date | 2024-10-29 00:00 +0100 |
| Message-ID | <JCGSl-4XKh-1@gated-at.bofh.it> |
| In reply to | #274130 |
On 10/28/24 08:46, Timothy M Butterworth wrote: > On Sun, Oct 27, 2024 at 10:13 PM David Christensen < > dpchrist@holgerdanske.com> wrote: > >> On 10/27/24 13:19, Charles Curley wrote: >>> On Sun, 27 Oct 2024 09:36:32 -0700 >>> David Christensen <dpchrist@holgerdanske.com> wrote: >>> >>>> To allow the Sensor plugin access to hard disk temperatures, I have >>>> set the set-user-ID bit on hddtemp(8): >>>> >>>> # chmod u+s /usr/sbin/hddtemp >>> >>> hddtemp has been superseded by a kernel module, which you can enable >>> like so: >>> >>> # enable getting the hard drive's temperature. >>> echo drivetemp > /etc/modules-load.d/drivetemp.conf >>> >>> Now you can get rid of hddtemp. >>> >>> I use that with xfce and the sensor plugin you mentioned. >> >> >> Thank you for the reply. :-) >> >> >> David >> >> > You may want to try out the psensor program. Psensor makes graphs of CPU > temperature. It has a server module that allows for remote monitoring as > well. Thank you for the reply. :-) David
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web