There is probably a better way but here is one:
sh environment
Main Power Supply is AC with -48V
-48V supply status: OK
-48V relay status: ISOLATED
Fan 1 OK
Fan 2 OK
Fan 3 OK
System Temperature: 28 Celsius (normal)
Environmental information last updated 00:00:25 ago
with out a AC-IP power supply:
sh environment
Main Power Supply is AC
Fan 1 OK
Fan 2 OK
Fan 3 OK
System Temperature: 28 Celsius (normal)
Environmental information last updated 00:00:23 ago