none
How to get VM's Performance Details like CPU Usage, Network Usage,Disk Read and Write, Memory usage using C# ? RRS feed

  • Question

  • Hello ,

    How to get VM's Performance Details like CPU Usage, Network Usage,Disk Read and Write, Memory usage using C# ?

    • Moved by CoolDadTx Tuesday, April 30, 2013 9:04 PM Hyper-V related
    Tuesday, April 30, 2013 5:25 PM

All replies

  • This depends upon the VM software you're using.  You need to post this question in the forums for the VM product.

    Tuesday, April 30, 2013 6:41 PM
  • HI CoolDadTx,

    I have enable Hyper-V ,and Visual Studio 2010 +C#

    Thanks

    Alok kumar Sharma


    Tuesday, April 30, 2013 7:08 PM
  • You'll end up using the WMI provider that comes with Hyper-V.  I cannot answer specifics about this API as I don't use Hyper-V but you can refer to the documentation here.  It mentions in the documentation how to go about getting both configured and running settings for VMS amongst other things.  In the user comments section there is also a mention of a C# library for accessing it.

    I'm moving this thread to the Server Virtualization forums where they might be able to help you with using the API.

    Tuesday, April 30, 2013 9:04 PM