Questions tagged [lm-sensors]

lm_sensors (Linux monitoring sensors) is a free and open-source application that provides tools and drivers for monitoring temperatures, voltage, and fans

9 questions
2
votes
2 answers

Regular expression in bash with awk

I'm trying to get my AMD GPU temperature from lm-sensors within bash. So I piped awk to get the correct line. But now I need a regular expression to get the data from it. My current code is: sensors | awk '/edge/ {print$2}' This outputs +53.0°C Now…
JimmyD
  • 2,629
  • 4
  • 29
  • 58
1
vote
1 answer

Ubuntu lm-sensors: large instantaneous temperature jumps on Intel core i7

I am attempting to do some data science with CPU core temperatures. I need to monitor how CPU core temperature changes over time. I am attempting to use two tools to do this: lm-sensors for measuring core and package temperature stress for…
1
vote
1 answer

psutil on Linux shows no CPU Core Temperatures

My Python 3 script uses psutil v5.6.2 to extract various information about the current system (Ubuntu 18.04, AMD Ryzen 2700X) such as the CPU core temperatures. Problem: However running the following code to obtain the core temperatures import…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
0
votes
1 answer

Bash - Convert String to Number and Store in Variable

I am trying to store CPU temperature in a variable. I am not sure how to use sed so I am mostly using grep. Here is what I have tried so far, but I am getting syntax error. I am also getting error during the comparison, but I thing it is because…
Amar
  • 43
  • 5
0
votes
0 answers

"Can't locate Fcntl.pm in @INC" error running "sensors-detect" on Yocto

I am using Yocto, and as per my project requirement I need to include lmsensors package in yocto image. I have included lmsensors package, and I am able to run sensors command but get following errors while running sensors-detect: Can't locate…
Raxesh Oriya
  • 383
  • 6
  • 27
0
votes
1 answer

how to bind thermal temperature sensor with emc2103 fan

how to bind an external temperature sensor with fan emc2103 in Linux. As emc2103 has its own temperature sensor which its use to control fan speed. but I want to control fan speed based on CPU temperature. how to build this CPU temperature sensor…
0
votes
0 answers

how to monitor cpu temperature using snmp or lm_sensors and config it with zabbix dashboard?

I'm trying to monitor cpu temperature via snmp and display in zabbix dashborad, but I can't find temperature from snmp , then I saw lm-sensors used for temperature monitoring, so I need better solution for monitor cpu temperature and config it with…
Sam__
  • 21
  • 7
0
votes
1 answer

How to use libsensors in QT application?

I am trying to make a simple CPU temp program in QT for Linux, but I cannot get libsensors to work with my project. As soon as I include the sensors/sensors.h and try to call int err = sensors_init(NULL); the compiler throws an error undefined…
-1
votes
2 answers

Show temperature without labels/text with "sensors" on ubuntu terminal?

i want to show my gpu temperature from a terminal command using my console on ubuntu 18.04. I installed sensors-lm and finished the configuration. When i type sensors -A radeon-pci-0100 in a terminal it shows me: radeon-pci-0100 temp1: …
Flozi
  • 1
  • 1