What is the API equivalent of “esxcli system process stats load get | grep Load15Minutes”?

This post was originally published on this site

I would like to get the global 15-minute load average of my ESXi server using the vSphere API and pyVmomi in particular. On the command line, I can do so as follows:

# esxcli system process stats load get | grep Load15Minutes     Load15Minutes: 0.49

What is the equivalent using the vSphere API? I looked through the available methods but I didn’t find any that gave a global 15-minute load average.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.