VMware Communities > VMware Developer > Forums > VIX API > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 Replies Last post: Jun 11, 2009 9:57 PM by fixitchris
Reply

Enumerate VMs with basic performance properties

Jun 10, 2009 4:17 PM

Click to view Netikus's profile Lurker Netikus 2 posts since
Jul 15, 2005
Hi,

Is there sample code available that shows how to enumerate virtual machines, and get their basic performance properties (e.g. memory usage, CPU usage, network usage)?

Is this even possible? After glancing through the API, I didn't find a way to get the current CPU usage for example. I'd like to do all this in C.

Thank you for any hints

Reply Re: Enumerate VMs with basic performance properties Jun 11, 2009 9:57 PM
Click to view fixitchris's profile Expert fixitchris 531 posts since
Dec 8, 2006
Look into the VI SDK and vmwarescripting.com.
Actions