I’ve been working with a support engineer on replacing an SC battery in one of T2000 servers recently, and noticed that immediately upon rebooting a server it may not be possible to get battery and fans stats because prtdiag command wouldn’t work (picld daemon not fully operating yet).
Turns out, there’s another way to get this info – simply use #. to get back into ALOM and run the showevnironment command. Among other things, it reports battery status:
sc> showenvironment ... -------------------------------------------------------------------------------- Voltage sensors (in Volts): -------------------------------------------------------------------------------- Sensor Status Voltage LowSoft LowWarn HighWarn HighSoft -------------------------------------------------------------------------------- MB/V_+1V5 OK 1.48 1.36 1.39 1.60 1.63 MB/V_VMEML OK 1.79 1.63 1.67 1.92 1.98 MB/V_VMEMR OK 1.79 1.63 1.67 1.92 1.98 MB/V_VTTL OK 0.89 0.81 0.83 0.96 0.99 MB/V_VTTR OK 0.87 0.81 0.83 0.96 0.99 MB/V_+3V3STBY OK 3.33 3.13 3.16 3.53 3.59 MB/V_VCORE OK 1.31 1.20 1.24 1.36 1.39 IOBD/V_+1V5 OK 1.48 1.36 1.39 1.60 1.63 IOBD/V_+1V8 OK 1.79 1.63 1.67 1.92 1.96 IOBD/V_+3V3MAIN OK 3.36 3.06 3.10 3.49 3.53 IOBD/V_+3V3STBY OK 3.33 3.13 3.16 3.53 3.59 IOBD/V_+1V OK 1.18 1.09 1.11 1.28 1.30 IOBD/V_+1V2 OK 1.16 1.09 1.11 1.28 1.30 IOBD/V_+5V OK 5.09 4.55 4.75 5.35 5.45 IOBD/V_-12V OK -12.11 -13.08 -12.84 -11.16 -10.92 IOBD/V_+12V OK 12.06 10.92 11.16 12.84 13.08 SC/BAT/V_BAT OK 3.37 -- 2.25 -- --