zonecfg -z zone
zonecfg:zone> add capped-memory
zonecfg:zonecapped-memory> set physical=2G
zonecfg:zonecapped-memory> end
zonecfg:zone> verify
zonecfg:zone> commit
zonecfg:zone> exit
To cap the number of cpus.
zonecfg -z zone
zonecfg:zone> add dedicated-cpu
zonecfg:zone:dedicated-cpu> set ncpus=1-2
zonecfg:zone:dedicated-cpu> set importance=10
zonecfg:zone:dedicated-cpu> end zonecfg:zone:dedicated-cpu> set ncpus=1-2
zonecfg:zone:dedicated-cpu> set importance=10
zonecfg:zone> verify
zonecfg:zone> commit
zonecfg:zone> exit
No comments:
Post a Comment