VMware {code} Community
mm6
Contributor
Contributor
Jump to solution

performancing monitoring of individual cpus

Is there any way to monitor the utilization of individual cpus in a multi-cpu vm using the vsphere API? All of the cpu metrics I have seen have been aggregate.

0 Kudos
1 Solution

Accepted Solutions
lamw
Community Manager
Community Manager
Jump to solution

Yes, when you call queryPerf as part of your query spec, you can ask for a specific instance which depending on your metric type, it can be something like the cores of a pCPU. When processing your data, you would just extract the instance string you're looking for

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

If you find this information useful, please award points for "correct" or "helpful".

View solution in original post

0 Kudos
1 Reply
lamw
Community Manager
Community Manager
Jump to solution

Yes, when you call queryPerf as part of your query spec, you can ask for a specific instance which depending on your metric type, it can be something like the cores of a pCPU. When processing your data, you would just extract the instance string you're looking for

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos