Get instance uptime using XML-RPC API


Am able to retrieve instance details such as name, IP addresses and disks using the XML-RPC API vars vm.NAME, vm.STATE, vm.MEMORY et cetera (great work on the API and documentation).

Any hints on how I can retrieve more stats such as instance uptime and last boot will be greatly appreciated.

Hi @dmurungi,

XML-RPC Method (onevm show) returns the info related to a VM.