1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Reference:
# https://wiki.smartos.org/display/DOC/SmartOS+Command+Line+Tips

[root@mbison /opt/setup-json]# psrinfo -vp
The physical processor has 2 cores and 4 virtual processors (0-3)
  The core has 2 virtual processors (0-1)
  The core has 2 virtual processors (2-3)
    x86 (GenuineIntel 306A9 family 6 model 58 step 9 clock 2500 MHz)
      Intel(r) Core(tm) i5-3210M CPU @ 2.50GHz


[root@mbison /opt/setup-json]# prtconf | head -3 | grep Mem
Memory size: 12011 Megabytes


[root@mbison /opt/setup-json]# zpool iostat -v
               capacity     operations    bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
zones       91.7G   140G      4     65  37.5K   631K
  mirror    91.7G   140G      4     65  37.5K   631K
    c2t0d0      -      -      0     29  19.2K   634K
    c2t1d0      -      -      0     29  19.3K   634K
----------  -----  -----  -----  -----  -----  -----


[root@mbison /opt/setup-json]# kstat -p zfs:0:arcstats:size | cut -f2
1704934096

# 1.704934096G


[root@mbison /opt/setup-json]# df -hal swap
Filesystem             Size   Used  Available Capacity  Mounted on
swap                     3G  2.04G       980M    69%    /zones/uuid/root/etc/svc/volatile


[root@mbison /opt/setup-json]# vmadm list
UUID                                  TYPE  RAM      STATE             ALIAS
211b992b-a448-40b4-94c9-00fa82615cec  OS    512      running           mongodb
28d39559-d373-e167-f6b7-ead5df116435  KVM   512      running           letsencrypt
e9ae73f7-f74c-c008-d763-d955d8324ee5  KVM   512      running           valet
f7e3b41f-0f52-ce0b-ac36-9fedf8856be2  OS    512      running           jenkins
65d176b4-c36d-4cbf-b6ed-8831ae25cc6c  OS    2048     running           mysql
a0639c40-bd37-65fb-8071-88989ce042ab  KVM   2048     running           ryu
ee42bf30-51ce-4ae2-915b-3e80e07794bd  KVM   2048     running           akuma