Reputation: 35
I want to get performance data of a Hyper-V host for the last hour.
In VMware ESXi there was vSphere API through which we can get history data.
For Hyper-V is there any of such API or method by which we can get history data?
For example if we trigger a command at 10:00 AM the is it possible to get last 1 hour (09:00 AM to 10:00 AM ) CPU usage of the Hyper-V host?
Does Hyper-V log this somewhere?
Untill now I am able to get performance data for current time using wmi
, but this doesnt't give me informations about past data.
Upvotes: 0
Views: 707
Reputation: 4179
You can have a look at these excellent articles.
All these tasks are done using the Get-Counter
cmdlet -> documentation
Upvotes: 1