EasyManuals Logo

NEC Express 5800 Series Maintenance Guide

NEC Express 5800 Series
160 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #154 background imageLoading...
Page #154 background image
3. Accessing Data for Electric Power, Temperature, and Processor Utilization
Express5800/T110f-S, R110f-1E, T110f-E Maintenance Guide
154
Chapter 3 Appendix
3.
Accessing Data for Electric Power, Temperature,
and Processor Utilization
This section describes how to access data related to input power consumption in watts, intake temperature, and
all logical processor utilizations in the Express Server during usual operation in accordance with ENERGY
STAR
®
Program Requirements.
3.1
Windows
The sample program below is verified to be run normally on Windows Server
®
2008 and Windows Server
®
2012.
3.1.1
Power consumption
Execute the following commands to access power consumption readings on BMC (Baseboard Management
Controller) via IPMI (Intelligent Platform Management Interface).
Network Function Code: 2Ch (Group Extension)
Command Code: 02h (Get Power Reading)
Request Data: 000001DCh
Below is the sample file created by using 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")
set oipmi = oinstance
next
'Format the IPMI command request
Dim oinparams
set oinparams = oclass.methods_("requestresponse").inparameters
oinparams.networkfunction = &h2C
oinparams.lun = 0
oinparams.responderaddress = &h20
oinparams.command = &h02
oinparams.requestdata = arry(&hdc,&h01,&h00,&h00)
oinparams.requestdatasize = 4
'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 = 0x" & hex(outparams.ResponseData(2))
'WScript.Echo " Data MS Byte = 0x" & hex(outparams.ResponseData(3))
WScript.Echo " Power Consumption = " & outparams.ResponseData(3)*256 + _
outparams.ResponseData(2) & " watts"
End If
' End Script

Table of Contents

Other manuals for NEC Express 5800 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NEC Express 5800 Series and is the answer not in the manual?

NEC Express 5800 Series Specifications

General IconGeneral
BrandNEC
ModelExpress 5800 Series
CategoryServer
LanguageEnglish

Related product manuals