E Editor Well-Known Member Apr 26, 2017 108 1 58 Turkey Aug 13, 2018 #1 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.
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.
dietmar Proxmox Staff Member Staff member Apr 28, 2005 17,266 670 213 Austria www.proxmox.com Aug 13, 2018 #2 GET /cluster/resources
E Editor Well-Known Member Apr 26, 2017 108 1 58 Turkey Aug 13, 2018 #3 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?
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?
E Editor Well-Known Member Apr 26, 2017 108 1 58 Turkey Aug 13, 2018 #4 I found "running " word in the JSON file and had it collected. I solved, thank you @dietmar