Question

I have a lot of VMs that have multiple cores. Some apps that run in some VMs are not optimized however for multiple cores and a lot of time one CPU core will be running at a high percentage while the other is barely being used. I'm looking for a way to monitor individual CPU core usage on these servers and output the data that I find to some kind of file (.txt or spreadsheet). I know that it's possible to view directly from vSphere the CPU core usage on servers, however I have too many VMs to sit down and monitor.

Is there any way to do this with Powershell? I would like to be able to create a script that runs automated through task scheduler and gathers the info I want, that way I can decide whether to make changes to certain VMs or not.

Was it helpful?

Solution

If I understand this article correctly, Get-Stat should give you per-core statistics.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top