Re: Reading temperatures on V210/240

From: John Howells (John.Howells_at_marconi.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 08:39:14 +0000


Jeff Wieland wrote:
>
> How do you read the on-board temperatures on a V240 (V210 should be
> the same). I know how to do this with a V100 or V120 using "lom -t",
> and Sun Blade 100's are easy with prtdiag, but I can't find anything
> equivalent with ALOM on the V240. The scadm command does not return
> the "showenvironment" stuff like you can on the console. I need a
> way to read the temperature programmatically. Any ideas??
>
> Please remove the "nospam" from my address if responding via email.

You can do it by extracting the data from:

        /usr/platform/SUNW,Sun-Fire-V240/sbin/prtdiag -v

but is *MUCH* less convenient than the "lom" output!

John Howells