Solaris Containers: Resource Management and Solaris Zones Developer's Guide

Resource Controls API Functions

The resource controls API contains functions that:

Operate on Action-Value Pairs of a Resource Control

The following list contains the functions that set or get the resource control block.

setrctl(2)

getrctl(2)

Operate on Local Modifiable Values

The following list contains the functions associated with the local, modifiable resource control block.

rctlblk_set_privilege(3C)

rctlblk_get_privilege(3C)

rctlblk_set_value(3C)

rctlblk_get_value(3C)

rctlblk_set_local_action(3C)

rctlblk_get_local_action(3C)

rctlblk_set_local_flags(3C)

rctlblk_get_local_flags(3C)

Retrieve Local Read-Only Values

The following list contains the functions associated with the local, read-only resource control block.

rctlblk_get_recipient_pid(3C)

rctlblk_get_firing_time(3C)

rctlblk_get_enforced_value(3C)

Retrieve Global Read-Only Actions

The following list contains the functions associated with the global, read-only resource control block.

rctlblk_get_global_action(3C)

rctlblk_get_global_flags(3C)