[one-users] measuring the diration of a migration
Adnan Pasic
pqado at yahoo.de
Thu Aug 11 05:09:06 PDT 2011
Unfortunately Im a newbie in Linux, so a little grep magic is already too
much for me L
Up until now I managed to list all state-transitions ( cat vm.log | grep
New VM state is ), but how could I now get the times out of those lines,
and more importantly, how can I subtract the time of RUNNING with the time
of MIGRATE?
Any help would be appreciated, since Im kind of stuck here L
Thanks!
Von: Carlos Martín Sánchez [mailto:cmartin at opennebula.org]
Gesendet: Freitag, 24. Juni 2011 10:39
An: Adnan Pasic
Cc: users at lists.opennebula.org
Betreff: Re: [one-users] measuring the diration of a migration
Hi,
That times can be extracted from oned.log or <vm-id>/vm.log with a bit of
grep magic, just look for the state transitions and take a look at the VM
life-cycle documentation [1].
Or you could modify the vmm scripts and log the operations to your own file.
Regards.
[1]
http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cyc
le
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
<http://www.opennebula.org/> www.OpenNebula.org |
<mailto:cmartin at opennebula.org> cmartin at opennebula.org
On Tue, Jun 14, 2011 at 12:23 PM, Adnan Pasic <pqado at yahoo.de> wrote:
Hello,
i have following problem - i need to perform several hundred migrations
(cold and live) and make notes of the duration.
since this is a tedious task i wanted to automatize this. any idea how i
could get these infos?
Im using opennebula on ubuntu..Thanks
_______________________________________________
Users mailing list
Users at lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110811/15ae95fe/attachment-0001.htm>
More information about the Users
mailing list