Hi,Hello,
Is it possible to get CPU & Memory usage of VMs via shell not web interface of Proxmox?
ps aux | grep 111Hi,
for kvm yes - you have one kvm-process for each vm.
look with "ps -aux | grep VMID" and "top".
Udo
Thanks,You can also do something like this:
UdoCode:top -b -n1 -p `cat /var/run/qemu-server/111.pid`
Thanks,
But these numbers are in difference with what Proxmox shows in the web interface, and the memory is in percentage of whole server's memory,
Can't we get more accurate numbers?
Are we allowed to use Proxmox source and get these information as Proxmox get them?There will be an API in V2.0, where you can get all those values - for now, you need use values form ps/top.
Are we allowed to use Proxmox source and get these information as Proxmox get them?
sure
There was nothing useful in pve-manager_2010-02-04.tar.gz
We use essential cookies to make this site work, and optional cookies to enhance your experience.