NEC N8100-1668F User Manual page 560

Nec express5800/t120b-e
Table of Contents

Advertisement

I-2 Accessing Power and Performance Data
'call the driver
Dim outparams
set outparams = oipmi.execmethod_("requestresponse",oinparams)
WScript.Echo " Completion Code = 0x" & hex(outparams.Completioncode)
If outparams.Completioncode <> 0 Then
Wscript.Echo " Not supported"
Else
'WScript.Echo " Data LS Byte
'WScript.Echo " Data MS Byte
WScript.Echo " Power Consumption = " & outparams.ResponseData(2)*256 + _
End If
' End Script
Command Line (Example)
C:\VBS> cscript //nologo Power.vbs
Execution Result (Example)
Completion Code = 0x0
Power Consumption = 528 watts
The power consumption is 528 watts.
NOTE:
supply configuration of the server. In such a case, Completion Code is
shown as 0xC1 or 0xCB.
= 0x" & hex(outparams.ResponseData(1))
= 0x" & hex(outparams.ResponseData(2))
Power consumption may not be collected depending on power
outparams.ResponseData(1) & " watts"

Advertisement

Table of Contents
loading

This manual is also suitable for:

N8100-1671fN8100-1669fN8100-1672fN8100-1670f

Table of Contents