VMware Cloud Community
atj
Contributor
Contributor

cpu.usage.average by core?

Hi All,

I attended the "Managing VMware with PowerShell" session at VMWorld 2008 and have taken the deep dive since. However, I am new to this forum and apologize in advance if this subject has been in a previous discussion or document. I've searched around through previous discussions and examined numerous objects (with PowerGUI) but I am without a clue. I want to use Powershell to gather cpu statistics by individual core such as that displayed by the Performance tab for host CPU/Realtime in the VI Client. We are using HP Proliant 460c blades which have 2 quad-core processors. Get-Stat seems limited to reporting for the host only. I'm looking for something with more granularity. Obviously, if it can be done in the client, it can be in code.

Any hints much appreciated!

Alan

0 Kudos
2 Replies
LucD
Leadership
Leadership

The current implementation of the Get-Stat cmdlet only returns the aggregate value, not the individual instances.

That was one of the reasons I wrote a function that emulates the Get-Stat cmdlet but adds the option to specify the instance(s).

Have a look at


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
admin
Immortal
Immortal

Hi, we're fixing this with the 1.5 GA (it's still broken in 1.5 Beta).

0 Kudos