periods a VM was running

vmanz

Renowned Member
Sep 15, 2010
38
4
73
Hello Friends,

Missing the right terms for a lucky search. please dont be angry - now theres some urcency ...

Is there a protocol to see at which times a specific VMID was running?

I can see the last 11 hours of cpuload, traffic etc in the graphs of a VMID. There must be some more data. Where can I get these?

Background: I had a clone of a VM running (with network disconnected afaik!). Now there are some questions.

Thanks in advice,

vmanz
 
You could look through the daemon logs to see when a VM was started and stopped with:
grep -e "Starting VM $VMID" -e "shutdown VM $VMID" /var/log/daemon.log*

Or if the VM is running linux, you could run last reboot on the VM to get a history of its uptime.