On Fri, Apr 17, 2009 at 05:48:00PM -0500, Denny White wrote:
> On Fri, Apr 17, 2009 at 10:48:58AM -0400, Dan Harnett spoke thusly:
> > On Fri, Apr 17, 2009 at 12:02:35AM -0500, Denny White wrote:
> > > Okay, dumb-ass me. Sitting here looking at the screen it finally
> > > dawned on me I'm not looking at 2 physical cpu's, per se, but
> > > instead 2 built onto one chip. Gee, I wish I would've come up
> > > with that beforehand instead of opening my mouth and removing
> > > any doubt in regards to my hardware ignorance. Only thing in
> > > my defense is I've never owned anything like that before. Before
> > > getting this laptop given to me, my fastest box was an aging dell
> > > dimension Pentium IV 2.66. No dual-cores, no dual-cpu's. Time to
> > > slink off now. ;)
> > 
> > A processor can have multiple sensors even though it is only a single
> > physical package.  It varies between processors.
> > 
> >   $ sysctl hw.model hw.sensors
> >   hw.model=Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz
> >   hw.sensors.cpu0.temp0=44.00 degC
> >   hw.sensors.cpu1.temp0=44.00 degC
> >   hw.sensors.acpitz0.temp0=45.05 degC (zone temperature)
> >   hw.sensors.acpitz1.temp0=44.05 degC (zone temperature)
> >   hw.sensors.acpibat0.volt0=14.40 VDC (voltage)
> >   hw.sensors.acpibat0.volt1=16.53 VDC (current voltage)
> >   hw.sensors.acpibat0.watthour0=36.62 Wh (last full capacity)
> >   hw.sensors.acpibat0.watthour1=1.83 Wh (warning capacity)
> >   hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity)
> >   hw.sensors.acpibat0.watthour3=36.45 Wh (remaining capacity), OK
> >   hw.sensors.acpibat0.raw0=0 (battery idle), OK
> >   hw.sensors.acpibat0.raw1=0 (rate)
> >   hw.sensors.acpiac0.indicator0=On (power supply)
> >   hw.sensors.acpithinkpad0.temp0=45.00 degC (TMP0)
> >   hw.sensors.acpithinkpad0.temp1=34.00 degC (TMP1)
> >   hw.sensors.acpithinkpad0.temp2=34.00 degC (TMP2)
> >   hw.sensors.acpithinkpad0.temp3=38.00 degC (TMP3)
> >   hw.sensors.acpithinkpad0.temp4=24.00 degC (TMP4)
> >   hw.sensors.acpithinkpad0.temp6=24.00 degC (TMP6)
> >   hw.sensors.acpithinkpad0.fan0=0 RPM (fan)
> >   hw.sensors.iwn0.temp0=56.00 degC
> >   hw.sensors.aps0.temp0=34.00 degC
> >   hw.sensors.aps0.temp1=34.00 degC
> >   hw.sensors.aps0.indicator0=On (Keyboard Active)
> >   hw.sensors.aps0.indicator1=Off (Mouse Active)
> >   hw.sensors.aps0.indicator2=On (Lid Open)
> >   hw.sensors.aps0.raw0=507 (X_ACCEL)
> >   hw.sensors.aps0.raw1=513 (Y_ACCEL)
> >   hw.sensors.aps0.raw2=507 (X_VAR)
> >   hw.sensors.aps0.raw3=513 (Y_VAR)
> 
> Yup, so I've learned. Thanks, Dan. Like I said before, never
> owned anything that modern before. ;) But, since last night,
> I've done a lot of reading up on it. Should've done it before
> but I didn't know I was gonna be given a new dual-core laptop.
> That doesn't happen very often. Not around here anyway. ;) 

It's just that the code creating hw.sensors.cpuX.temp0 is a little
different between i386 and amd64, so amd64 shows one sensor for each
core (but with the same temperature) while i386 shows only one sensor
for all cores.

Reply via email to