View total number of running VM/LXC

Editor

Member
Apr 26, 2017
83
1
8
Turkey
Hi,

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

I'm trying to reach the values here;



I couldn't find it in the APIs document.
 

Editor

Member
Apr 26, 2017
83
1
8
Turkey
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 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!