Created
May 29, 2018 13:24
-
-
Save jlevon/7d31fcae776bfb767d0d29677993d528 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@lava ~]# zonecfg -z $b2 info rctl name=zone.cpu-shares | |
rctl: | |
name: zone.cpu-shares | |
value: (priv=privileged,limit=200,action=none) | |
[root@lava ~]# zonecfg -z $b6 info rctl name=zone.cpu-shares | |
rctl: | |
name: zone.cpu-shares | |
value: (priv=privileged,limit=100,action=none) | |
mpstat -a: | |
SET minf mjf xcal intr ithr csw icsw migr smtx srw syscl usr sys wt idl sze | |
0 0 0 0 61510 28261 919 2945 41 181 0 3656 0 100 0 0 28 | |
[root@lava ~]# prstat -c -Z | |
Please wait... | |
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP | |
4480 root 1073M 103M cpu8 1 0 1:21:45 49% bhyve/28 | |
4498 root 1073M 102M cpu28 1 0 1:23:03 48% bhyve/28 | |
... | |
ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE | |
2 2 28M 3520K 0.0% 1:21:45 49% 4ff4a23b-3763-61c3-a0f1-95752b47da93 | |
3 2 28M 3596K 0.0% 1:23:03 48% 71cd5acf-f691-ca57-e883-f731e275f23e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment