Re: adjusting /etc/sensors.conf for a dual processor machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Thank you for the suggestion, Guenter.  Unfortunately, I think I lack the imagination to turn this output into something useful.  For example, consider below, the Cores are still numbers 0, 1, 9, 10 for the 
"coretemp-isa-0000" sensor and the same for the "coretemp-isa-0004" sensor.  How can I renumber them so that:

coretemp-isa-0000
Core 0 --> Core 0
Core1 --> Core 1

Core 9 --> Core 2

Core 10 --> Core 3

coretemp-isa-0004
Core 0 --> Core 4

Core1 --> Core 5

Core 9 --> Core 6

Core 10 --> Core 7

Does my question make sense?  Thanks again!


$ sensors -u coretemp-isa-0000
coretemp-isa-0000
Adapter: ISA adapter
Core 0:
  temp2_input: 61.000
  temp2_max: 85.000
  temp2_crit: 95.000
  temp2_crit_alarm: 0.000
Core 1:
  temp3_input: 61.000
  temp3_max: 85.000
  temp3_crit: 95.000
  temp3_crit_alarm: 0.000
Core 9:
  temp11_input: 62.000
  temp11_max: 85.000
  temp11_crit: 95.000
Core 10:
  temp12_input: 63.000
  temp12_max: 85.000
  temp12_crit: 95.000

$ sensors -u coretemp-isa-0004
coretemp-isa-0004
Adapter: ISA adapter
Core 0:
  temp2_input: 53.000
  temp2_max: 85.000
  temp2_crit: 95.000
  temp2_crit_alarm: 0.000
Core 1:
  temp3_input: 54.000
  temp3_max: 85.000
  temp3_crit: 95.000
  temp3_crit_alarm: 0.000
Core 9:
  temp11_input: 59.000
  temp11_max: 85.000
  temp11_crit: 95.000
Core 10:
  temp12_input: 59.000
  temp12_max: 85.000
  temp12_crit: 95.000



________________________________
From: Guenter Roeck <guenter.roeck@xxxxxxxxxxxx>
To: Audio Phile <da_audiophile@xxxxxxxxx>
Cc: "lm-sensors@xxxxxxxxxxxxxx" <lm-sensors@xxxxxxxxxxxxxx>
Sent: Saturday, September 24, 2011 10:51 AM
Subject: Re:  adjusting /etc/sensors.conf for a dual processor machine

On Sat, Sep 24, 2011 at 08:27:30AM -0400, Audio Phile wrote:
> I'd like to get my cores from the sensors output to be consistently numbered
> (i.e. core0-core7) for a dual xeon motherboard (HP Z600 workstation). Here is
> what the output looks like currently. Anyone have experience with this?
> 
> $ sensors
> coretemp-isa-0000
> Adapter: ISA adapter
> Core 0:       +65.0 C  (high = +85.0 C, crit = +95.0 C)
> Core 1:       +65.0 C  (high = +85.0 C, crit = +95.0 C)
> Core 9:       +66.0 C  (high = +85.0 C, crit = +95.0 C)
> Core 10:      +66.0 C  (high = +85.0 C, crit = +95.0 C)
> 
> coretemp-isa-0004
> Adapter: ISA adapter
> Core 0:       +54.0 C  (high = +85.0 C, crit = +95.0 C)
> Core 1:       +56.0 C  (high = +85.0 C, crit = +95.0 C)
> Core 9:       +60.0 C  (high = +85.0 C, crit = +95.0 C)
> Core 10:      +61.0 C  (high = +85.0 C, crit = +95.0 C)
> 
You can add information to /etc/sensors3.conf and pick any labels you like.
First use "sensors -u coretemp-isa-000" and "sensors -u coretemp-isa-004"
to get the attribute file names, then add something like the following to
/etc/sensors3.conf.

chip "coretemp-isa-000"

    label temp2 mytemp
    label temp3 yourtemp
    label temp4 randomtemp

Guenter

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux