Create a project :
# projadd -U root,webservd -p 100 demos
Modify a project to setup a max rss value, enable rcapd daemon, and start a weblogic server inside the project demos :
# projmod -K rcap.mas-rss=1024M demos # rcapd -E # newtask -p demos ./weblogic.sh start
In the following example, I have a bi-cpu box which run “guest” zones. I want to these zones can only use one cpu (while the other can use two.
# poolcfg -c 'create pset pset_guest ( uint pset.min = 1; uint pset.max = 1)'
# poolcfg -c 'create pool pool_guest'
# poolcfg -c 'associate pool pool_guest (pset pset_guest)'
# pooladm -c
# poolbind -p pool_guest -i zoneid <zonename>
# projadd -U root -p 100 sunoneds
# newtask -v -p sunoneds 100