Getting statistics on VMs instantiated

I’m pretty new to Opennebula.
I would like to know how to get statistics on how long it takes to instantiate multiple virtual machines. It could be timestamps on when the VM moves through the different states till it is fully running.
Any info on this would be super helpful!.



You can get the extended VM information with onevm show -x, or the ruby and java api bindings.

Each VM has a global STIME (start time) and ETIME (end time). Then for each history record (each time a VM is deployed, migrated, suspended, etc) you have:

  • STIME, ETIME: start/end time
  • PSTIME, PETIME: prolog start/end time
  • RSTIME, RETIME: running start/end time
  • ESTIME, EETIME: epilog start/end time

Another option is to open the individual VM log file, it will contain each state change with a timestamp.

Thanks. I’ll give this a try and report back.