VMware {code} Community
RogerKehn
Contributor
Contributor

Can VIX be used to get UPTIME

Can VIX be used to get UPTIME as seen via a column in vSphere client? I am not looking for the client OS uptime. I'm looking for the time since it was started or since it was last resumed from pause.

ScreenClip.png

Tags (4)
0 Kudos
1 Reply
c4milo
Contributor
Contributor

VIX doesn't have a formal function to get machine uptime. But, you can use VIX to run programs or shell scripts on the guest OS. This way you can get the uptime pretty easily.

0 Kudos