Consuption of a single virtual machine [message #34796] |
Tue, 03 February 2009 08:26 |
anto_gc
Messages: 2 Registered: January 2009
|
Junior Member |
|
|
hello all,
How can be known the consumption of CPU of a single virtual machine?
I need to know the CPU consuption of any machine from the EV 0. IS possible?
The CPU consuption with respect the EV 0.
Thanks
--------------EDIT---------------------------------------
If I make
vzctl exec 111 top b -n 1 | grep 'Cpu(s)'
I obtain the cpu usage into de VPS 111, this usage corresponds at the global CPU usage??? I have made some tests and it seems yes that...approximately
other way is making: head -n 1 /proc/stat
I obtain valus for CPU usage...these values corresponds to a global CPU ?? I say...these values sais me the cpu usage of the virtual machine in the main machine???
thanks
[Updated on: Tue, 03 February 2009 17:01] Report message to a moderator
|
|
|