D docent Renowned Member Jul 23, 2009 96 1 73 Nov 20, 2023 #1 Hi! Is it possible to get current values of dataceter resources from CLI? Like on Search in GUI Thanks
Hi! Is it possible to get current values of dataceter resources from CLI? Like on Search in GUI Thanks
fabian Proxmox Staff Member Staff member Jan 7, 2016 11,422 2,906 303 Nov 20, 2023 #2 this API endpoint is not exposed directly in any CLI tool, but you can use an API client or pvesh to query it: "GET /cluster/resources" ("pvesh get /cluster/resources")
this API endpoint is not exposed directly in any CLI tool, but you can use an API client or pvesh to query it: "GET /cluster/resources" ("pvesh get /cluster/resources")
Chris Proxmox Staff Member Staff member Jan 2, 2019 3,022 537 158 Nov 20, 2023 #3 docent said: Hi! Is it possible to get current values of dataceter resources from CLI? Like on Search in GUI View attachment 58413 Thanks Click to expand... Hi, you can use pvesh to fetch that information, same as via the api: pvesh get /cluster/resources Reactions: bzb-rs
docent said: Hi! Is it possible to get current values of dataceter resources from CLI? Like on Search in GUI View attachment 58413 Thanks Click to expand... Hi, you can use pvesh to fetch that information, same as via the api: pvesh get /cluster/resources
D docent Renowned Member Jul 23, 2009 96 1 73 Nov 20, 2023 #4 Thanks a lot! This is exactly what I was looking for