Go to main content

Administering Resource Management in Oracle® Solaris 11.3

Exit Print View

Updated: March 2018
 
 

How to Specify a Temporary Resource Cap for a Zone

This procedure is used to allocate the maximum amount of memory that can be consumed by a specified zone. This value lasts only until the next reboot. To set a persistent cap, use the zonecfg command.

  1. Become an administrator with the Process Management rights profile.

    The root role has all of these rights. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Set a maximum memory value of 512 megabytes for the zone.
    # rcapadm -z testzone -m 512M