System Administration Guide: Virtualization Using the Solaris Operating System

ProcedureHow to Use the projmod Command to Add an rcap.max-rss Attribute for a Project

  1. Become superuser, or assume a role that includes the Process Management profile.

    The System Administrator role includes the Process Management profile. For information on how to create the role and assign the role to a user, see Managing RBAC (Task Map) in System Administration Guide: Security Services.

  2. Set an rcap.max-rss attribute of 10 Gbytes in the /etc/project file, in this case for a project named db.


    # projmod -a -K rcap.max-rss=10GB db
    

    The /etc/project file then contains the line:


    db:100::db,root::rcap.max-rss=10737418240