OpenVZ Forum


Home » General » Support » Setting up a load cap for a container: is this possible?
Re: Setting up a load cap for a container: is this possible? [message #52074 is a reply to message #52069] Sun, 31 May 2015 16:37 Go to previous messageGo to previous message
fabioganga is currently offline  fabioganga
Messages: 3
Registered: May 2015
Location: Tenerife
Junior Member
Thanks again speedbus.

I have tried launching the script manually to test it, and I get this error:

[root@servervps7 scripts]# sh antiload.sh
antiload.sh: line 10: [: too many arguments

line 10 is as follows in your script:

if [ $load2 -gt $maxload ]

What could the problem be? I love the idea of using your script!

Thanks!

Fabio
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: yum update fails
Next Topic: How to boot in openVZ kernel while having multiboot OS
Goto Forum:
  


Current Time: Wed Sep 04 00:36:19 GMT 2024

Total time taken to generate the page: 0.05035 seconds