Sample Header Ad - 728x90

How to determine when KVM vm was created?

0 votes
1 answer
350 views
OS is Debian. Not asking about uptime of course, but I would like to determine when vm was created and/or first booted. Normally you can do something like: stat / and check birth time, but for a kvm vm it just shows "-". (I've seen this issue on bare metal systems as well sometimes, not sure why) What is a foolproof way to check when a server was created? Is this even possible? Wondering about kvm vms, but would be interested in a solution for bare metal systems that for one reason or another show "-" for birth time. Edit: I was assuming that KVM vms are created from images. I realize now that it's possible to create KVM vms from an installer, but for this question, assume image. Is this possible to determine in this case?
Asked by cat pants (167 rep)
Jan 3, 2024, 11:52 PM
Last activity: Jan 9, 2024, 09:31 PM