Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Set FSS Shares in the Global Zone Using the prctl Command

The global zone is given one share by default. You can use this procedure to change the default allocation. Note that you must reset shares allocated through the prctl command whenever you reboot the system.

You must be the global administrator or a user granted the appropriate authorizations in the global zone to perform this procedure.

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Use the prctl utility to assign two shares to the global zone:
    # prctl -n zone.cpu-shares -v 2 -r -i zone global
  3. (Optional) To verify the number of shares assigned to the global zone, type:
    # prctl -n zone.cpu-shares -i zone global

See also

For more information on the prctl utility, see the prctl(1) man page.