Which option would temporary increase the cap to 100M?

You capped the physical memory for the testzone at 50M. Which option would temporary increase
the cap to 100M?

You capped the physical memory for the testzone at 50M. Which option would temporary increase
the cap to 100M?

A.
rctladm –z testzone zone.capped-memory=100M

B.
rcapadm –z testzone –m 100M

C.
rcapadm –z testzone zone.capped-memory=100M

D.
prctl testzone –m 100M

Explanation:
How to Specify a Temporary Resource Cap for a Zone
This procedure is use 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 superuser, or assume a role that includes the Process Management profile.
The System Administrator role includes the Process Management profile.
2. Set a maximum memory value of 512 Mbytes for the zone my-zone.
# rcapadm -z testzone -m 512M



Leave a Reply 1

Your email address will not be published. Required fields are marked *


dupek

dupek

B

root@s11exam:~# rcapadm -z dbzone -m 1024M
root@s11exam:~# zonecfg -z dbzone info
zonename: dbzone
zonepath: /zones/dbzone
brand: solaris
autoboot: false
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
tenant:
fs-allowed:
[cpu-shares: 20]
net:
address: 172.16.65.131
allowed-address not specified
configure-allowed-address: true
physical: net1
defrouter not specified
capped-memory:
physical: 512M
rctl:
name: zone.cpu-shares
value: (priv=privileged,limit=20,action=none)
root@s11exam:~# zlogin dbzone
[Connected to zone ‘dbzone’ pts/2]
Oracle Corporation SunOS 5.11 11.2 April 2015
root@dbzone:~# prtconf |grep Memo
prtconf: devinfo facility not available
Memory size: 1024 Megabytes
root@dbzone:~#