OpenVZ Forum


Home » General » Support » Consuption of a single virtual machine
Consuption of a single virtual machine [message #34796] Tue, 03 February 2009 08:26
anto_gc is currently offline  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

Previous Topic: Can't configure user_xattr option with bind mount into container
Next Topic: [solved] /proc/self/loginuid missing on HN on el5.028stab060.2 causing auditd to fail?
Goto Forum:
  


Current Time: Sat Jun 28 21:18:57 GMT 2025

Total time taken to generate the page: 0.02130 seconds