How to Change allocated memory from CLI

michaelvv

Renowned Member
Oct 9, 2008
103
3
83
Hi

I got a new very powerfull server which have 48 GB Memory , and i would
like to know if it's possible to change the memory allocated for a specific CTID
from CLI , i do not have web access to it when it is placed on our hosting
location "PCI regulations" ???

Looked through vzctl but didn't find anything...

Thanks

/Michael
 
Or it you don't want to use vzctl lowlevel command, you can use 'pvectl':

# pvectl vzset <vmid> --mem <MB>

(simply type 'pvectl' to get a list of available options)
 
Thanks dietmar , works fine. I just have one more question.

Is there a log file where all the commands from the web interface ,
are written to.
For Instance if a person alter the amount of memory for a Container,
the admin can see which commands has run throught the
web interface....

/Michael