Go to main content

Creating and Using Oracle® Solaris Zones

Exit Print View

Updated: April 2019
 
 

How to Change the zone.cpu-shares Value in a Zone Dynamically

This procedure can be used in the global zone or in a non-global zone.

  1. Become a zone administrator.

    For more information, see Assigning Limited Rights to Zone Administrators.

  2. Use the prctl command to specify a new value for cpu-shares.
    # prctl  -n zone.cpu-shares -r -v value -i zone zonename

    idtype is either the zonename or the zoneid. value is the new value.