i am trying to develop scripts shell that will allow the dynamic migration of VMs following an action , for example: overloading a physical node resources (RAM, CPU) . to take the decision on the choice
of the VM to migrate, I need to know the occupation of the RAM / CPU in real time of a VM , if someone can help me
thank you in advance
onevm show
gives you that info but not realtime. It gets refeshed every 20 seconds:
$ onevm show 0
[...]
VIRTUAL MACHINE MONITORING
USED MEMORY : 952M
USED CPU : 0
[...]
1 Like
thank you for your help