• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Temperature sensors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Temperature sensors


  • Subject: Re: Temperature sensors
  • From: Alex Zavatone <email@hidden>
  • Date: Tue, 17 Apr 2012 16:48:27 -0400

Yeah, it's no on Lion.  I'm sure that they are parsing a log file.  

The trick is to use your mad Google skills and find out which.

I'm sure a shell script can do it.

On Apr 17, 2012, at 4:13 PM, Javi Pérez wrote:

no such command on lion

i wondering how all those apps does it then


Enviado con

El martes 17 de abril de 2012 a las 22:01, Alex Zavatone escribió:

Hi Javi.  I've also been curious about this, so I did a little sniffing around and looking under rocks.

There is/was a tool called ipmitool that I think was last seen in MacOS X Server 10.6.6 and Mac OS 10.5 that was able to do this.

It's no longer in 10.6.8 so I assume it was superseded by something.  I will send you the full man page offline, but here's a little but of it below including how you would get temps of temperature sensors: 

NAME
       ipmitool - utility for controlling IPMI-enabled devices

SYNOPSIS
       ipmitool [-c|-h|-v|-V] -I open <command>

       ipmitool [-c|-h|-v|-V] -I lan -H <hostname>
                [-p <port>]
                [-U <username>]
                [-A <authtype>]
                [-L <privlvl>]
                [-a|-E|-P|-f <password>]
                [-o <oemtype>]
                [-O <sel oem>]
                [-e <esc_char>]
                <command>

       ipmitool [-c|-h|-v|-V] -I lanplus -H <hostname>
                [-p <port>]
                [-U <username>]
                [-L <privlvl>]
                [-a|-E|-P|-f <password>]
                [-o <oemtype>]
                [-O <sel oem>]
                [-C <ciphersuite>]
                [-k <kg_key>]
                [-e <esc_char>]
                <command>

DESCRIPTION
       This program lets you manage Intelligent Platform Management Interface (IPMI) functions of either the
       local system, via a kernel device driver, or a remote system, using IPMI V1.5 and  IPMI  v2.0.  These
       functions  include  printing  FRU information, LAN configuration, sensor readings, and remote chassis
       power control.

       IPMI management of a local system interface requires a compatible IPMI kernel driver to be  installed
       and  configured.   On  Linux  this driver is called OpenIPMI and it is included in standard distribu-
       tions.  On Solaris this driver is called BMC and is inclued in Solaris 10.  Management  of  a  remote
       station requires the IPMI-over-LAN interface to be enabled and configured.  Depending on the particu-
       lar requirements of each system it may be possible to enable the LAN interface  using  ipmitool  over
       the system interface.


      sdr

              get <id> ... [<id>]

                     Prints information for sensor data records specified by sensor id.

              info

                     This command will query the BMC for SDR information.

              type <sensor type>

                     This command will display all records from the SDR of a specific type.  Run  with  type
                     list to see the list of available types.  For example to query for all Temperature sen-
                     sors:

                     > ipmitool sdr type Temperature
                     Baseboard Temp   | 30h | ok  |  7.1 | 28 degrees C
                     FntPnl Amb Temp  | 32h | ok  | 12.1 | 24 degrees C
                     Processor1 Temp  | 98h | ok  |  3.1 | 57 degrees C
                     Processor2 Temp  | 99h | ok  |  3.2 | 53 degrees C



On Apr 17, 2012, at 3:38 PM, Javi Pérez wrote:

What's the way to get the temperature of cpu hd and gnu?

I was reading about ioreg but I don't find information enough 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Run Handler-Name from Text? (From: Christopher Stone <email@hidden>)
 >Re: Run Handler-Name from Text? (From: Tom Robinson <email@hidden>)
 >Re: Run Handler-Name from Text? (From: Christopher Stone <email@hidden>)
 >Re: Run Handler-Name from Text? (From: Stan Cleveland <email@hidden>)
 >Temperature sensors (From: Javi Pérez <email@hidden>)
 >Re: Temperature sensors (From: Alex Zavatone <email@hidden>)
 >RE: Temperature sensors (From: Javi Pérez <email@hidden>)

  • Prev by Date: RE: Temperature sensors
  • Next by Date: Re: Temperature sensors
  • Previous by thread: Re: Temperature sensors
  • Next by thread: Re: Run Handler-Name from Text?
  • Index(es):
    • Date
    • Thread