Getting 'real' guest uptime

Sam T

New Member
Sep 24, 2025
7
0
1
Howdy!

Just a random one. From the host system, is it possible to query a guest's uptime using the qemu guest agent? Specifically, this is for querying a guest's uptime accounting for live migrations - e.g when I live migrate a machine with a day of uptime, proxmox will now start counting uptime from 0 on the new host. Thanks in advance!
 
Appreciated! It definitely seems a lot more relevent to show a guest's uptime from *its* pov, but I can also see how that could be a nightmare to set up