Monitoring desktop temperature with Trisquel

22 risposte [Ultimo contenuto]
strypey
Offline
Iscritto: 05/14/2015

I have been having some weird issue where my desktop PC running Trisquel 7 OS totally locks up, right down to the kernel - CTRL-ALT-F1 doesn't work, and I have to hold down the power button to shut it down. There's a few possible culprits, but one is temperature. The guy I bought this PC off, says it supported a number of temperature monitoring tools under Windows. What tools are available in Trisquel, or in the repos, to monitor PC temperature?

Magic Banana

I am a member!

Online
Iscritto: 07/24/2010
SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

or.. via conky.. I'll leave my vonky here for u in case u get curious.

Screenshot_2017-06-14_21-12-13.png
AllegatoDimensione
conkyrc.tar.xz 1.07 KB
strypey
Offline
Iscritto: 05/14/2015

I'm assuming that "vonky" was a typo, and that you were referring to this?
https://help.ubuntu.com/community/SettingUpConky

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

in my post there are two references to conky and one to vonky, as I recently started to call it :)
Also, I left u the conkyrc, so yeah, of course :P

Pardon my joking, I'm senile too <3

Jodiendo
Offline
Iscritto: 01/09/2013

SENILE THIN PIG SKIN HEAD, IS VERY COMMON WITH THIS NEW GENERATION, MAYBE OTHERS HAVEN'T ATE ENOUGH PIGGIES BECAUSE OF THEIR RELIGIOUS FANATICAL BELIEVES...

Long LEAVE THE OTHER WHITE MEAT!!!!

Jodiendo
Offline
Iscritto: 01/09/2013

You gave me an perverted idea!

I feel corny when I wait for decades for updates for trisquel!
I feel conky when time goes by with updates for trisquel
I feel vonky when the trisquel updates are a disparatity, distorted and wont work at all!

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

ugh, that's so murphy, as in 'the only time u don't want to start anything, u trigger Locoiendo' :)

davidpgil
Offline
Iscritto: 08/26/2015

I have had issues recently where my server; which resides in a room with no air conditioning; was locking up presumably to protect itself from overheating. I was teaching myself about system administration and learned a bit about LogWatch. I just type "logwatch" in my shell and it shows me some info about my servers state such as the temperature and recommended temperatures inside it. You might need to configure logwatch to spit out at least a "Medium" about of info in order to see this. My server is an old Macbook Pro.

hack and hack
Offline
Iscritto: 04/02/2015

I know there are hardware knobs to turn up/down fan speed.
The idea is to also control the noise output.

I mean monitoring is one thing, but you need to be able to increase the airflow if needed.

strypey
Offline
Iscritto: 05/14/2015

If temperature is the problem there are a number of things I could try, but there are a few other suspects. First priority is to accurately diagnose the problem. Thanks for the suggestions Banana, SuperTramp, and David, I'll try these out and let you know what results I get.

hack and hack
Offline
Iscritto: 04/02/2015

True. But don't you have an error message when it crashes?
If not, maybe enabling verbosity somewhere might do so.

strypey
Offline
Iscritto: 05/14/2015

Nope, no error obvious error messages when it crashes. It just completely freezes. Even CTRL-ALT-F1 does nothing. Is there a particular log I should look in for error messages, after I boot back up again?

hack and hack
Offline
Iscritto: 04/02/2015

Unfortunately, I don't know, but I'm pretty sure there's a log about that somewhere.

libreleah
Offline
Iscritto: 04/03/2017

hey

sudo apt-get install xsensors

this is what i use. it works well.

strypey
Offline
Iscritto: 05/14/2015

Thanks Leah, I've installed xsensors. It seems to make use of the lm-sensors package mentioned in the link Magic Banana posted. Any suggestions on HowTos for making use of xsensors?

hack and hack
Offline
Iscritto: 04/02/2015
force
Offline
Iscritto: 06/23/2017

I have this problem as well on my librebooted x200. (trisquel 7)

On rare occasion it will become totally unresponsive; even closing the lid does not activate sleep mode.

The only pattern I can see is that I'll be using the laptop and walk away to do something else for a few minutes and when I return it has frozen.

hack and hack
Offline
Iscritto: 04/02/2015

my X200 also gets rather hot, specially if the weather is hot as well. I've had kernel panics because of that.

But sometimes the CPU % gets very high as well.
Both CPU use and CPU temp get super high only for a few seconds. But this can happen frequently.

But I use the default system indicators, no additional software.

force
Offline
Iscritto: 06/23/2017

I should clarify:

I don't actually know if my problem is heat related or not as I did not check. I haven't done anything software side to affect fan speed. Also I have replaced the thermal paste on the CPU --and I know what I'm doing! Probably! :-)

hack and hack
Offline
Iscritto: 04/02/2015

I have to admit that I let it run for months without turning it off, and I don't know if the fan needs cleaning.
Thermal paste, good idea, I'll try that too.

hack and hack
Offline
Iscritto: 04/02/2015

Necroing a bit, as I want to monitor my CPU temp and fan speeds, and control all that:
* I have 2 case fans, 2 CPU fans, and a GPU connected directly on the motherboard (+adapters on CPU fans for lower RPM/noise)
* I installed lm-sensors
* I configured it (defaults, and accepted the config to be written on file, then rebooted)
* I also installed xsensors (though I'll delete it later), and I have:
+ one tab named nouveau, called PCI/GPU in sensors on the CLI: around 660000 RPM, 1 temp (there's 2 fans, though it's most likely 1 plug).
+ one tab named called isa adapter in sensors on the CLI (a bunch of alphanumeric chars in xsensors) wchich has 3 temps at -48°C, and 0 RPM (minimum RPM is -1 for 2 of these, and 75000 for the remaining one).

Questions:
1. Which is which? I can identify the GPU, but I get only 3 fans for 2 case fans and 2 CPU fans.
2. the RPM numbers seem wrong (0 as all of them are running, and 660000 seems huge).

So the first goal is to just get proper temp/rpm monitoring monitoring.

Once I have visibility, I want to install fancontrol, if I have to.
But I see that the CPU and case fan plugs only have 3 holes, so most likely no pwm.
So if the CPU gets too hot, I'd need to remove the limiting plugs.

hack and hack
Offline
Iscritto: 04/02/2015

For anyone with the same issue, forgetit if you have a specific AMD CPU.
Check archwiki's lm-sensor page for the k10temp tweak, which didn't work for me.
Even if it would have worked, it would be inaccurate.

So I'll get a rhebus with a probe on the CPU indicating the proper temp. Bonus, I'll be able to manually control all the fans.

Case closed for me.