Hi
On 08/03/05 19:32, greg gaustad wrote:
> sol 9 prtdiag reports temperature in detail:
> Location Sensor Temperature Lo LoWarn HiWarn Hi Status
> -----------------------------------------------------------------------------
> MB/0 Die 68C -10C 0C 100C 105C okay
> MB/1 Die 71C -10C 0C 100C 105C okay
> MB Ambient 42C -8C 0C 70C 75C okay
> MB Ambient 44C -10C 0C 70C 75C okay
> MB Ambient 29C -11C 0C 40C 70C okay
> MB Ambient 33C -9C 0C 70C 75C okay
>
> sol 10 has resorted to "idiot light" reporting:
> Location Sensor Status
> ------------------------------------
> MB/0 Die okay
> MB Ambient okay
> MB Ambient okay
>
> The more detailed reporting of Solaris 10 is sooooo much more desireable
> (less politely, the 10 version sucks).
> Why was this change made?
> Should I submit an RFE to the RFE discussion group?
prtdiag these days is built on top of picl. If you still want to see
the guts of things use prtpicl -v (and there's a whole libpicl etc).
The following is on a v240:
prtdiag -v:
Temperature sensors:
------------------------------------
Location Sensor Status
------------------------------------
MB/P0 T_CORE okay
MB/P1 T_CORE okay
MB T_ENC okay
PS0 FF_OT okay
PS1 FF_OT okay
------------------------------------
Now to extract the info from picl you need to surf a few links
or do some grepping, but you quickly come down to
mb_t_enc (temperature-sensor, 7400000eef)
:_fru_parent (7400000ceeH)
:Label T_ENC
:HighPowerOffThreshold 51
:HighShutdownThreshold 48
:HighWarningThreshold 40
:LowPowerOffThreshold -6
:LowShutdownThreshold -3
:LowWarningThreshold 5
:Temperature 23
:_class temperature-sensor
:name mb_t_enc
Now that we know the class names you could use
'prtpicl -v -c temperature-sensor'. Similarly
class 'fan' will give you fan information etc.
Not the easiest substitute but the information is still there
if you dig.
Gavin