Use this procedure to persistently set shares in the global zone.
For more information, see Assigning Limited Rights to Zone Administrators.
$ svcs svc:/system/resource-mgmt:default STATE STIME FMRI disabled Jan_08 svc:/system/resource-mgmt:default
If the service is not online, enable it and check again.
$ svcadm enable resource-mgmt:default $ svcs svc:/system/resource-mgmt:default STATE STIME FMRI online Jan_12 svc:/system/resource-mgmt:default
$ zonecfg -z global
zonecfg:global> set cpu-shares=5
zonecfg:global> exit