OpenVZ Forum


Home » General » Support » Need help with CPU shortage
Re: Need help with CPU shortage [message #36437 is a reply to message #36414] Thu, 18 June 2009 13:33 Go to previous message
dvazart is currently offline  dvazart
Messages: 37
Registered: October 2008
Location: France
Member
Hi !

The last questions :

I'm going to make a shell script with "for" to change the parameters of all VEs, there are some command to disable the CPU variable?

Something like :
vzctl set $VE --cpulimit 0 --cpus 0 --save


The manpage of vzctl only shows :

Quote:


--cpus num
sets number of CPUs available in the container.



And, there are some vzctl command to set the VE0CPUUNITS variable? or i have to set it editing the vz.conf file? I guess i have to restart the daemon after edit VE0CPUUNITS ?


----------- Daniel Vazart ------------
"Knowledge is power, Sharing is human"
------- http://www.vazart.net --------
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Previous Topic: Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB
Next Topic: Best bandwidth monitoring method?
Goto Forum:
  


Current Time: Sun Aug 18 13:22:08 GMT 2024

Total time taken to generate the page: 0.02862 seconds