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.
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:
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".
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:
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".
