Blogs

Introduction

Racktables version 0.20.1 has new feature support for Cisco UCS environments. Racktables is a structured and robust open-source solution for datacenter asset management, that helps document hardware assets, network addresses, space in racks and network configuration.
...Read More

 

I just added a new section to the UCS PowerTool section on the UCS CDN site that will provide a central repository of PoSh scripts, examples, and videos that detail use cases and examples for UCS PowerTool.

Here is the link:
http://developer.cisco.com/web/unifiedcomputing/powertool-examples
...Read More

 

I would like to announce the general availability of goUCS version 2.0 on Cisco Developer Network. A lot of time and effort has been put into the newest goUCS release, with some of the main features being detailed below.

 

Lest anyone thinks I have forgotten about my blogging on the UCS API, I have not, but I have written a blog recently for the Data Center blog and it is applicable to the UCS so I thought I would share the link here along with the blog into.

Early in my career I moved quite a bit, new job, growing family, whatever the reason it seemed like every two or three years we were packing up and going to a new place and meeting our new neighbors.
...Read More

 

Updated and completely revised version 2.0 MP for Cisco UCS is now available for download. Please check the release notes for the complete list of bug fixes ...Read More

 

Showing 1 - 5 of 16 results.
Items per Page 5
of 4

Forums

« Back to Technical Discussions

Collect CPU speeds via UCS PowerTool...

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi all,
 
I'm trying to get the CPU speed from the blades I have installed as part of an inventory script.  The Get-UcsBlade commandlet gets me most of what I need, but I can't seem to find where I'd get the speeds from.  Anyone have any suggestions?
 
Thanks,
 
Sage

Hi all,
 
I'm trying to get the CPU speed from the blades I have installed as part of an inventory script.  The Get-UcsBlade commandlet gets me most of what I need, but I can't seem to find where I'd get the speeds from.  Anyone have any suggestions?
 
Thanks,
 
Sage

Hi Sage,
 
There are at least two ways to get to the information you are looking for;
 
- Directly by using the Get-UcsProcessorUnit cmdlet
 
- Through the structure of the Object Model
  - Get-UcsBlade | Get-UcsComputeBoard | Get-UcsProcessorUnit
 
Running Get-Help for each one of those commands with show you the input object that is being looked for, as well as other filering options.
 
Hope that helps, example below.
 
Regards,
John
 
Here's the output for blade 1/1

PS C:\> Get-UcsBlade -ServerId 1/1 | Get-UcsComputeBoard | Get-UcsProcessorUnit
 
 
Arch              : Xeon
Cores             : 4
CoresEnabled      : 4
Id                : 1
Model             : Intel(R) Xeon(R) CPU           E5540  @ 2.53GHz
OperState         : operable
Operability       : unknown
Perf              : unknown
Power             : not-supported
Presence          : equipped
Revision          : 0
Serial            :
SocketDesignation : CPU1
Speed             : 2.530000
Stepping          : 4
Thermal           : ok
Threads           : 8
Vendor            : Intel(R) Corporation
Visibility        : yes
Voltage           : not-supported
Dn                : sys/chassis-1/blade-1/board/cpu-1
Rn                : cpu-1
Status            :
Ucs               : machine
 
Arch              : Xeon
Cores             : 4
CoresEnabled      : 4
Id                : 2
Model             : Intel(R) Xeon(R) CPU           E5540  @ 2.53GHz
OperState         : operable
Operability       : unknown
Perf              : unknown
Power             : not-supported
Presence          : equipped
Revision          : 0
Serial            :
SocketDesignation : CPU2
Speed             : 2.530000
Stepping          : 4
Thermal           : ok
Threads           : 8
Vendor            : Intel(R) Corporation
Visibility        : yes
Voltage           : not-supported
Dn                : sys/chassis-1/blade-1/board/cpu-2
Rn                : cpu-2
Status            :
Ucs               : machine

John,

Thank you very much that was exactly what I needed.

Sage

Collateral


No files available