Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: May 2015
 
 

How to Set zone.cpu-shares in the Global Zone

This procedure is used to persistently set shares in the global zone.

You must be the global administrator in the global zone or a user in the global zone with the correct rights profile 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 zonecfg command.
    # zonecfg -z global
  3. Set five shares for the global zone.
    zonecfg:global> set cpu-shares=5
  4. Exit zonecfg.
    zonecfg:global> exit