List VM/container details

MikeC

Active Member
Jan 11, 2016
59
0
26
Bay Area, California
Hello, all.

I have multiple versions of proxmox running. I'm trying to automate reporting and provide a dashboard that'll show which VMs and containers are running on which nodes.

On version 3 there is a very helpful one: "pvectl list". It shows all the data I'm after: VMID, Name, status, memory and Disk:

VMID NAME STATUS MEM(MB) DISK(GB)
104 server1.mynet.com stopped 1024 32.00
107 server2.mynet.com running 2048 32.00
108 server3.mynet.com running 2048 10.00

It looks like pvectl isn't available on my vers 4 nodes. Which command can I use to provide the above data?
Thanks
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!