Administering Resource Management in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014

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 root or assume an equivalent role.
  2. Set a maximum memory value of 512 megabytes for the zone my-zone.
    # rcapadm -z testzone -m 512M