How can I get the Guest VM CPU, Ram, disk of VMware Tools?

Hey guys,.

I have a question for the information of the guest OS,

I can use the SDK to get information such as the disk i/o of vCenter,

But I can't the CPU, Ram, disk use on the comments operating system?

I know vmware tools can help, but I don't know how to use the web Service to obtain, please do me a favor!

Thank you

To get the disk usage information in the guest operating system, you get "guest.disk" property of the managed object VirtualMachine. This will give you the total capacity and free space on each disk information.

http://www.VMware.com/support/developer/VC-SDK/visdk41pubs/ApiReference/Vim.VM.GuestInfo.DISKINFO.html

For the processor and memory, you can extract the properties "summary.quickStats.overallCpuUsage" and "summary.quickStats.guestMemoryUsage" of the managed object VirtualMachine.

http://www.VMware.com/support/developer/VC-SDK/visdk41pubs/ApiReference/Vim.VM.summary.QuickStats.html

I hope this helps!

Neha

Tags: VMware

Similar Questions

Maybe you are looking for

  • questions of app store - iphone

    I work for a technical support for the mobile phone service provider - me with my colleagues at work got a lot of calls in 3 days on the apple store does not. Power works on phone/voice-data services - but for access to apple store, they all make the

  • What in fact supply Erazer X 315 use type?

    Given that the game is going to be freezing when the CPU usage goes up to 90%, I am I think that maybe the power isn't quite enough to Erazer X 315. Can anyone tell me what type of use Erazer X 315 power and how much watts put the output is.

  • HP Mediasmart SmartMenu stop working ERROR

    Hello please help me fix my computer problem at about the mediasmart smartmenu stop working IM using the HP Pavilion p6140d, windos vista 32 bit desktop PC and the error is HP MediaSmart SmartMenu stop working, please help me solve this problem

  • LabVIEW and parallel port

    I'm trying to control a motor of OMHT23-400 with a motor drive 3540 M using a Moschip PCI Parallel Port. I created a program to send impulses alternatilng the engine and make it run a desired amount of degrees. The motor in my computer address is/o s

  • How to enlarge my desktop to my laptop screen size

    A few days ago, my office and all the pages somehow became smaller than my computer tower screen.  When I'm working on a document page has about a margin of inch on the left and right sides. The same is true when the office is in use.  It was not alw