[vbox-dev] How to get uptime
Achim Hasenmueller
achim at sun.com
Sat Jan 16 16:20:20 GMT 2010
Not directly I fear. If you know that the VM was not paused or anything after being started, you can use the lastStateChanged attribute.
Another approach might be using the performance API. You can register a counter at startup that will give you the information.
Achim.
On Jan 16, 2010, at 16:31 , Thomas Trepper wrote:
> Hi all,
>
> is there a way, to obtain the guest-machines-uptime? (IMachine?)
>
> Thanks a lot and best regards,
>
> Thomas
>
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
More information about the vbox-dev
mailing list