Amy Skinner
2012-Apr-16 10:21 UTC
[libvirt-users] A way to determine when a guest domain was launched?
I've looked around at the API documents (I'm using python) and I know how to find the cpu active uptime of the domain, but that only increases if the domain is running something. Is there a way to determine when the domain was first launched, either as a date or uptime with idle uptime included? /Amy
Daniel P. Berrange
2012-Apr-16 10:26 UTC
[libvirt-users] A way to determine when a guest domain was launched?
On Mon, Apr 16, 2012 at 10:21:59AM +0000, Amy Skinner wrote:> I've looked around at the API documents (I'm using python) and I > know how to find the cpu active uptime of the domain, but that only > increases if the domain is running something. Is there a way to > determine when the domain was first launched, either as a date or > uptime with idle uptime included?No, that information is not available in the API at this time. Feel free to file a bug requesting this though - for many of the drivers it would be pretty trivial to add this information. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
Seemingly Similar Threads
- show uptime and last reload
- uptime
- puppet master under passenger locks up completely
- Is there any document about the feauture and usage of lxc supported by libvirt?
- [BUG 2.6.32.y] Broken PV migration between hosts with different uptime, non-monotonic time?