periods a VM was running

vmanz

Renowned Member
Sep 15, 2010
36
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!