Appendix I Accessing Power And Performance Data; Power Consumption - NEC Express5800/R120b-2 User Manual

Hide thumbs Also See for Express5800/R120b-2:
Table of Contents

Advertisement

Appendix I
Accessing Power and Performance Data
This chapter describes how to collect the power and performance data, including power
consumption, inlet air temperature, and processor utilization of NEC Express server in usual
operation. These are defined in ENERGY STAR® Program Requirements for Computer Servers
and must be available to users.
The sample program shown below is verified to be run normally on Windows Server® 2008
Enterprise 32bit (x86) Edition.

POWER CONSUMPTION

Run the following commands to access power consumption readings on BMC (Baseboard
Management Controller) via IPMI (Intelligen Platform Management Interface).
Network Function Code: 3Eh (Controller-specific OEM)
Command Code: 0Bh (Get Current Sensor Data)
Shown below is a sample file created by Visual Basic Script (e.g. Power.vbs).
' Start Script
Option Explicit
' Prepare for IPMI Driver
Dim osvc, oclass
Dim oinstance, oipmi
set osvc = getobject("winmgmts:root\wmi")
set oclass = osvc.get("microsoft_ipmi")
for each oinstance in osvc.instancesof("microsoft_ipmi")
next
'Format the IPMI command request
Dim oinparams
set oinparams = oclass.methods_("requestresponse").inparameters
oinparams.networkfunction = &h3e
oinparams.lun = 0
oinparams.responderaddress = &h20
oinparams.command = &h0b
oinparams.requestdatasize = 0
set oipmi = oinstance
' OEM NetworkFunction
' Get Current Sensor Data Command

Advertisement

Table of Contents
loading

Table of Contents