Skip to contentSkip to conversation

how to rename sensor variables

lm-sensors Mahmood Naderan 3 participants 6 messages Nov 28, 2010

lore
Share & tools
lore
#0 lore raw

Hi,
The output of sensors command is:

temp1:       +43.0°C  (high = -58.0°C, hyst = +99.0°C)  sensor = thermistor temp2:       +41.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor temp3:       -60.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = transistor cpu0_vid:   +0.375 V
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)

How can I rename "tempX" to a more meanningful name? Thanks,

// Naderan *Mahmood;

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Greetings, Mahmood Naderan!

Quoted 10 lines

temp1:       +43.0°C  (high = -58.0°C, hyst = +99.0°C)  sensor = thermistor temp2:       +41.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor temp3:       -60.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = transistor cpu0_vid:   +0.375 V
k10temp-pci-00c3
Adapter: PCI adapter
temp1:       +26.0°C  (high = +70.0°C, crit = +70.0°C)

How can I rename "tempX" to a more meanningful name? Thanks,

man sensors.conf sometimes?

--
WBR,
Andrey Repin ([email protected]) 28.11.2010, <10:26>

Sorry for my terrible english...

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Mahmood Naderan

There is nothing about k10temp in sensors3.conf.

mahmood@localhost:~$ cat /etc/sensors3.conf | grep "*k10temp*"
mahmood@localhost:~$ 

// Naderan *Mahmood;

________________________________
From: Andrey Repin <[email protected]>
To: Mahmood Naderan <[email protected]>; [email protected]
Sent: Sun, November 28, 2010 10:57:50 AM
Subject: Re: [lm-sensors] how to rename sensor variables

Greetings, Mahmood Naderan!

Quoted 10 lines
temp1:       +43.0°C  (high = -58.0°C, hyst = +99.0°C)  sensor = thermistor
temp2:       +41.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
temp3:       -60.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = transistor
cpu0_vid:   +0.375 V

k10temp-pci-00c3
Adapter: PCI adapter
temp1: +26.0°C (high = +70.0°C, crit = +70.0°C)

How can I rename "tempX" to a more meanningful name? Thanks,

man sensors.conf sometimes?

--
WBR,
Andrey Repin ([email protected]) 28.11.2010, <10:26>

Sorry for my terrible english...

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Mahmood Naderan
Quoted 1 line · Mahmood Naderan

There is nothing about k10temp in sensors3.conf.

I guess you can add an entry in the configuration file, something like:

chip "k10temp-pci-*"
label temp1 "CPU0"
label temp2 "CPU1"
ignore temp3

man sensors.conf should give you more information.

Regards,
JeanFI.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw
In reply to Mahmood Naderan
Quoted 4 lines

chip "k10temp-pci-*"
   label temp1 "CPU0"
    label temp2 "CPU1"
    ignore temp3


Thanks for that. It did the job

// Naderan *Mahmood;

________________________________
From: Jean-Philippe Orsini <[email protected]>
To: [email protected]
Sent: Sun, November 28, 2010 3:19:24 PM
Subject: Re: [lm-sensors] how to rename sensor variables

Quoted 1 line · Mahmood Naderan

There is nothing about k10temp in sensors3.conf.

I guess you can add an entry in the configuration file, something like:

chip "k10temp-pci-*"
    label temp1 "CPU0"
    label temp2 "CPU1"
    ignore temp3

man sensors.conf should give you more information.

Regards,
                  JeanFI.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors