Friday, February 18, 2011

Reporting Memory Utilization and the Memory Cap

# rcapstat -g
id project nproc vm rss cap at avgat pg avgpg
376565 rcap 0 0K 0K 10G 0K 0K 0K 0K
physical memory utilization: 55% cap enforcement threshold: 0%

Before that we need to enable rcapd daemon.

Enable the resource capping daemon in one of the followingways:
■ Turn on resource capping using the svcadm command.
# svcadm enable rcap
■ Enable the resource capping daemon so that it will be started now and also be started each
time the system is booted, type:
# rcapadm -E
■ Enable the resource capping daemon at boot without starting it now by also specifying the
-n option:
# rcapadm -n -E

No comments:

Post a Comment