How can you check if a virtual machine is running on Proxmox? (KVM)

harmonyp

Member
Nov 26, 2020
195
4
23
46
I am curious is there any way to check if a virtual machine (KVM) is running on a Proxmox node?

I have found multiple commands along the line of

Code:
sudo lshw -class system
&
Code:
sudo dmesg | grep -i virtual
but these just return a generic QEMU message.

The only way I can think of is by running
Code:
dhclient -d -nw eth0
which would return the DHCP server IP and then if the firewall lets you connect through https://DHCPSERVERIP:8006
 
detecting proxmox isn't possible since it simply uses kvm

systemd-detect-virt will tell you the hypervisor/container engine
 

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!