View total number of running VM/LXC

Editor

Well-Known Member
Apr 26, 2017
108
1
58
Turkey
Hi,

How can I view the total of machines running with API?

I'm trying to reach the values here;

177f04a2-d066-4aee-a564-d124b209ab1c.png


I couldn't find it in the APIs document.
 
Are you aware of that? You're always helping me :) Thank you

Code:
GET /cluster/resources
I checked, but I didn't see the "8" (number of machines currently running on my server) value in JSON file.

I wonder if the "running" is collecting the number of machines? Not a value that comes directly with JSON, right?
 

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!