M michabbs Active Member May 5, 2020 134 19 38 May 7, 2020 #1 In command line I want to see list of vm's (both qemu and lxc) belonging to given pool. Any hints?
Stefan_R Proxmox Retired Staff Retired Staff Jun 4, 2019 1,300 308 88 Vienna May 7, 2020 #2 You can use our API (and according client), e.g.: Code: pvesh get /pools/<poolname> --output-format json | jq '.members'
You can use our API (and according client), e.g.: Code: pvesh get /pools/<poolname> --output-format json | jq '.members'
A amplus New Member Jun 23, 2023 4 0 1 Nov 22, 2023 #3 Can someone help me figure out how to find all VMs that are not in a pool?
fabian Proxmox Staff Member Staff member Jan 7, 2016 11,094 2,729 303 Nov 22, 2023 #4 the /cluster/resources API endpoint gives you that information (it contains a "pool" field for each VM/CT).
the /cluster/resources API endpoint gives you that information (it contains a "pool" field for each VM/CT).