Go to main content

Administering Resource Management in Oracle® Solaris 11.4

Exit Print View

Updated: August 2018
 
 

How to Enable Resource Capping

There are three ways to enable resource capping on your system. Enabling resource capping also sets the /etc/rcap.conf file with default values.

  1. Assume the root role.

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

  2. Enable the resource capping daemon.

    Use one of the following methods.

    • Turn on resource capping by using the svcadm command.
      $ svcadm enable rcap
    • Enable the resource capping daemon so it starts now and also starts each time the system is booted.
      $ rcapadm -E
    • Enable the resource capping daemon at boot only.

      The –n option prevents the daemon from starting until the system is booted.

      $ rcapadm -n -E