H HPmoss Member May 8, 2023 61 8 13 Online www.google.co.uk Dec 8, 2024 #1 I am looking for a terminal command(s) to get a detailed list of VM guests installed, RAM usage, disk space usage and location of storage. 'qm list' does not show all the info that I need. Any suggestions?
I am looking for a terminal command(s) to get a detailed list of VM guests installed, RAM usage, disk space usage and location of storage. 'qm list' does not show all the info that I need. Any suggestions?
W waltar Famous Member Jul 29, 2024 1,808 564 118 Dec 8, 2024 #2 Try somethink like this (as 1 cmd line) : for h in $(ls /etc/pve/nodes/.);do echo "##### $h #####";echo "";for l in $(ls /etc/pve/nodes/$h/lxc/.);do echo "# LXC $(echo $l|cut -d'.' -f1) #";grep -e cores -e hostname -e memory -e disk -e privilege /etc/pve/nodes/$h/lxc/$l;echo "";done;echo "";for v in $(ls /etc/pve/nodes/$h/qemu-server/.);do echo "# VM $(echo $v|cut -d'.' -f1) #";grep -e cores -e memory -e disk /etc/pve/nodes/$h/qemu-server/$v;echo "";done;echo "";done Reactions: HPmoss and UdoB
Try somethink like this (as 1 cmd line) : for h in $(ls /etc/pve/nodes/.);do echo "##### $h #####";echo "";for l in $(ls /etc/pve/nodes/$h/lxc/.);do echo "# LXC $(echo $l|cut -d'.' -f1) #";grep -e cores -e hostname -e memory -e disk -e privilege /etc/pve/nodes/$h/lxc/$l;echo "";done;echo "";for v in $(ls /etc/pve/nodes/$h/qemu-server/.);do echo "# VM $(echo $v|cut -d'.' -f1) #";grep -e cores -e memory -e disk /etc/pve/nodes/$h/qemu-server/$v;echo "";done;echo "";done
bbgeek17 Distinguished Member Nov 20, 2020 6,122 2,260 278 Blockbridge www.blockbridge.com Dec 8, 2024 #3 Or you can try: pvesh get /cluster/resources Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox Reactions: waltar and UdoB
Or you can try: pvesh get /cluster/resources Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
UdoB Distinguished Member Proxmox Subscriber Nov 1, 2016 3,288 1,990 243 Germany Dec 8, 2024 #4 That's one great aspect of a complex software stack: there is always more than one solution - be it "classic" or more modern
That's one great aspect of a complex software stack: there is always more than one solution - be it "classic" or more modern