6,534
edits
Changes
Tilera
,Added →Basic container operations
/etc/init.d/vzeventd restart
/etc/init.d/vz restart
== Creating/starting container ==
Before creating a container, we should disable DISK_QUOTA in global
vzctl start 101
== Basic container operations ==
Show all containers:
vzlist -a
Show running containers:
vzlist
Enter the container (shell):
vzctl enter 101
Setting container physical memory usage limit (to 512 MB):
vzctl set 101 --physpages 0:512M --save
Setting container virtual swap limit (to 1GB):
vzctl set 101 --swappages 0:1G --save
Seeing current memory/swap usage:
vzctl exec 101 cat /proc/user_beancounters
== Known issues ==