RE: Temperature sensors
RE: Temperature sensors
- Subject: RE: Temperature sensors
- From: Javi Pérez <email@hidden>
- Date: Tue, 17 Apr 2012 22:26:50 +0200
there are many apps that displays the temperature and fan speed
I just want do it myself using bash, applescript or something
Enviado con
El martes 17 de abril de 2012 a las 22:25, Robert Poland escribió:
Is this what you're looking for?
On Apr 17, 2012, at 2: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
Robert Poland - Fort Collins, CO
_______________________________________________
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