ohai 14.2.0 → 14.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Rakefile +1 -1
  4. data/lib/ohai/application.rb +29 -29
  5. data/lib/ohai/common/dmi.rb +5 -5
  6. data/lib/ohai/dsl/plugin.rb +3 -3
  7. data/lib/ohai/dsl/plugin/versionvii.rb +3 -3
  8. data/lib/ohai/mixin/azure_metadata.rb +2 -2
  9. data/lib/ohai/mixin/do_metadata.rb +3 -3
  10. data/lib/ohai/mixin/ec2_metadata.rb +8 -8
  11. data/lib/ohai/mixin/gce_metadata.rb +2 -2
  12. data/lib/ohai/mixin/network_constants.rb +1 -1
  13. data/lib/ohai/mixin/scaleway_metadata.rb +3 -3
  14. data/lib/ohai/mixin/softlayer_metadata.rb +1 -1
  15. data/lib/ohai/mixin/string.rb +2 -2
  16. data/lib/ohai/plugins/aix/cpu.rb +3 -3
  17. data/lib/ohai/plugins/aix/filesystem.rb +1 -1
  18. data/lib/ohai/plugins/aix/kernel.rb +1 -1
  19. data/lib/ohai/plugins/aix/memory.rb +1 -1
  20. data/lib/ohai/plugins/aix/network.rb +3 -3
  21. data/lib/ohai/plugins/bsd/virtualization.rb +1 -1
  22. data/lib/ohai/plugins/cloud.rb +1 -1
  23. data/lib/ohai/plugins/darwin/hardware.rb +1 -1
  24. data/lib/ohai/plugins/darwin/network.rb +5 -5
  25. data/lib/ohai/plugins/darwin/platform.rb +1 -1
  26. data/lib/ohai/plugins/dmi.rb +6 -6
  27. data/lib/ohai/plugins/filesystem.rb +5 -5
  28. data/lib/ohai/plugins/hostname.rb +5 -5
  29. data/lib/ohai/plugins/kernel.rb +8 -8
  30. data/lib/ohai/plugins/linux/lspci.rb +4 -4
  31. data/lib/ohai/plugins/linux/memory.rb +4 -4
  32. data/lib/ohai/plugins/linux/network.rb +16 -16
  33. data/lib/ohai/plugins/linux/platform.rb +7 -1
  34. data/lib/ohai/plugins/netbsd/network.rb +1 -1
  35. data/lib/ohai/plugins/network.rb +5 -5
  36. data/lib/ohai/plugins/openbsd/network.rb +1 -1
  37. data/lib/ohai/plugins/packages.rb +1 -1
  38. data/lib/ohai/plugins/passwd.rb +4 -4
  39. data/lib/ohai/plugins/ruby.rb +13 -13
  40. data/lib/ohai/plugins/solaris2/dmi.rb +3 -3
  41. data/lib/ohai/plugins/solaris2/filesystem.rb +6 -6
  42. data/lib/ohai/plugins/solaris2/memory.rb +2 -2
  43. data/lib/ohai/plugins/solaris2/network.rb +36 -36
  44. data/lib/ohai/plugins/windows/network.rb +2 -2
  45. data/lib/ohai/util/win32/group_helper.rb +1 -1
  46. data/lib/ohai/version.rb +1 -1
  47. data/spec/functional/application_spec.rb +6 -6
  48. data/spec/functional/loader_spec.rb +4 -4
  49. data/spec/functional/plugins/windows/uptime_spec.rb +1 -2
  50. data/spec/spec_helper.rb +5 -5
  51. data/spec/unit/application_spec.rb +11 -11
  52. data/spec/unit/config_spec.rb +5 -5
  53. data/spec/unit/dsl/plugin_spec.rb +5 -5
  54. data/spec/unit/hints_spec.rb +2 -2
  55. data/spec/unit/loader_spec.rb +41 -41
  56. data/spec/unit/mixin/azure_metadata_spec.rb +3 -3
  57. data/spec/unit/mixin/command_spec.rb +64 -64
  58. data/spec/unit/mixin/ec2_metadata_spec.rb +6 -6
  59. data/spec/unit/mixin/softlayer_metadata_spec.rb +1 -1
  60. data/spec/unit/plugin_config_spec.rb +9 -9
  61. data/spec/unit/plugins/abort_spec.rb +6 -6
  62. data/spec/unit/plugins/aix/cpu_spec.rb +16 -16
  63. data/spec/unit/plugins/aix/filesystem_spec.rb +57 -57
  64. data/spec/unit/plugins/aix/network_spec.rb +35 -35
  65. data/spec/unit/plugins/aix/virtualization_spec.rb +210 -210
  66. data/spec/unit/plugins/azure_spec.rb +49 -49
  67. data/spec/unit/plugins/bsd/filesystem_spec.rb +13 -13
  68. data/spec/unit/plugins/bsd/virtualization_spec.rb +10 -10
  69. data/spec/unit/plugins/c_spec.rb +54 -54
  70. data/spec/unit/plugins/chef_spec.rb +3 -3
  71. data/spec/unit/plugins/darwin/cpu_spec.rb +54 -54
  72. data/spec/unit/plugins/darwin/filesystem_spec.rb +34 -34
  73. data/spec/unit/plugins/darwin/hardware_system_profiler_output.rb +1070 -1070
  74. data/spec/unit/plugins/darwin/memory_spec.rb +16 -16
  75. data/spec/unit/plugins/darwin/network_spec.rb +382 -382
  76. data/spec/unit/plugins/digital_ocean_spec.rb +7 -7
  77. data/spec/unit/plugins/dmi_spec.rb +83 -83
  78. data/spec/unit/plugins/docker_spec.rb +2 -2
  79. data/spec/unit/plugins/ec2_spec.rb +156 -156
  80. data/spec/unit/plugins/eucalyptus_spec.rb +19 -19
  81. data/spec/unit/plugins/fail_spec.rb +14 -14
  82. data/spec/unit/plugins/freebsd/cpu_spec.rb +18 -18
  83. data/spec/unit/plugins/freebsd/kernel_spec.rb +1 -1
  84. data/spec/unit/plugins/gce_spec.rb +1 -1
  85. data/spec/unit/plugins/init_package_spec.rb +1 -1
  86. data/spec/unit/plugins/java_spec.rb +4 -4
  87. data/spec/unit/plugins/joyent_spec.rb +9 -9
  88. data/spec/unit/plugins/linux/block_device_spec.rb +1 -1
  89. data/spec/unit/plugins/linux/cpu_spec.rb +155 -155
  90. data/spec/unit/plugins/linux/filesystem_spec.rb +229 -229
  91. data/spec/unit/plugins/linux/kernel_spec.rb +9 -9
  92. data/spec/unit/plugins/linux/lsb_spec.rb +18 -18
  93. data/spec/unit/plugins/linux/lspci_spec.rb +58 -58
  94. data/spec/unit/plugins/linux/mdadm_spec.rb +54 -54
  95. data/spec/unit/plugins/linux/memory_spec.rb +35 -35
  96. data/spec/unit/plugins/linux/network_spec.rb +464 -464
  97. data/spec/unit/plugins/linux/platform_spec.rb +84 -68
  98. data/spec/unit/plugins/linux/systemd_paths_spec.rb +40 -40
  99. data/spec/unit/plugins/linux/uptime_spec.rb +1 -1
  100. data/spec/unit/plugins/linux/virtualization_spec.rb +197 -197
  101. data/spec/unit/plugins/mono_spec.rb +11 -11
  102. data/spec/unit/plugins/netbsd/kernel_spec.rb +1 -1
  103. data/spec/unit/plugins/network_spec.rb +2 -2
  104. data/spec/unit/plugins/openstack_spec.rb +43 -43
  105. data/spec/unit/plugins/os_spec.rb +1 -1
  106. data/spec/unit/plugins/passwd_spec.rb +9 -9
  107. data/spec/unit/plugins/php_spec.rb +22 -22
  108. data/spec/unit/plugins/powershell_spec.rb +13 -13
  109. data/spec/unit/plugins/rackspace_spec.rb +38 -38
  110. data/spec/unit/plugins/ruby_spec.rb +14 -14
  111. data/spec/unit/plugins/scaleway_spec.rb +6 -6
  112. data/spec/unit/plugins/scsi_spec.rb +7 -7
  113. data/spec/unit/plugins/solaris2/cpu_spec.rb +2594 -2594
  114. data/spec/unit/plugins/solaris2/dmi_spec.rb +91 -91
  115. data/spec/unit/plugins/solaris2/filesystem.rb +8 -8
  116. data/spec/unit/plugins/solaris2/kernel_spec.rb +1 -1
  117. data/spec/unit/plugins/solaris2/network_spec.rb +92 -93
  118. data/spec/unit/plugins/solaris2/platform_spec.rb +24 -24
  119. data/spec/unit/plugins/solaris2/virtualization_spec.rb +22 -22
  120. data/spec/unit/plugins/ssh_host_keys_spec.rb +12 -12
  121. data/spec/unit/plugins/sysconf_spec.rb +321 -321
  122. data/spec/unit/plugins/virtualbox_spec.rb +27 -27
  123. data/spec/unit/plugins/windows/cpu_spec.rb +9 -9
  124. data/spec/unit/plugins/windows/kernel_spec.rb +12 -12
  125. data/spec/unit/plugins/windows/uptime_spec.rb +1 -1
  126. data/spec/unit/plugins/zpools_spec.rb +41 -41
  127. data/spec/unit/runner_spec.rb +2 -2
  128. data/spec/unit/system_spec.rb +55 -55
  129. metadata +3 -4
  130. data/docs/man/man1/ohai.1 +0 -97
@@ -21,57 +21,57 @@ require_relative "../../../spec_helper.rb"
21
21
  describe Ohai::System, "AIX network plugin" do
22
22
 
23
23
  before(:each) do
24
- @netstat_rn_grep_default = <<-NETSTAT_RN_GREP_DEFAULT
25
- default 172.31.8.1 UG 2 121789 en0 - -
24
+ @netstat_rn_grep_default = <<~NETSTAT_RN_GREP_DEFAULT
25
+ default 172.31.8.1 UG 2 121789 en0 - -
26
26
  NETSTAT_RN_GREP_DEFAULT
27
27
 
28
- @ifconfig = <<-IFCONFIG
29
- en0: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN> metric 1
30
- inet 172.29.174.58 netmask 0xffffc000 broadcast 172.29.191.255
31
- inet 172.29.174.59 broadcast 172.29.191.255
32
- inet 172.29.174.60 netmask 0xffffc000 broadcast 172.29.191.255
33
- inet6 ::1%1/0
34
- tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
35
- en1: flags=1e084863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
36
- inet 172.31.10.211 netmask 0xfffffc00 broadcast 172.31.11.255
37
- tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
38
- lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
39
- inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
40
- inet6 ::1%1/0
41
- tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
28
+ @ifconfig = <<~IFCONFIG
29
+ en0: flags=1e080863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN> metric 1
30
+ inet 172.29.174.58 netmask 0xffffc000 broadcast 172.29.191.255
31
+ inet 172.29.174.59 broadcast 172.29.191.255
32
+ inet 172.29.174.60 netmask 0xffffc000 broadcast 172.29.191.255
33
+ inet6 ::1%1/0
34
+ tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
35
+ en1: flags=1e084863,480<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),CHAIN>
36
+ inet 172.31.10.211 netmask 0xfffffc00 broadcast 172.31.11.255
37
+ tcp_sendspace 262144 tcp_recvspace 262144 rfc1323 1
38
+ lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
39
+ inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
40
+ inet6 ::1%1/0
41
+ tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1
42
42
  IFCONFIG
43
43
 
44
- @netstat_nrf_inet = <<-NETSTAT_NRF_INET
45
- Destination Gateway Flags Refs Use If Exp Groups
46
- Route Tree for Protocol Family 2 (Internet):
47
- default 172.29.128.13 UG 0 587683 en0 - -
48
- 172.29.128.0 172.29.174.58 UHSb 0 0 en0 - - =>
49
- 172.29.128/18 172.29.174.58 U 7 1035485 en0 - -
50
- 172.29.191.255 172.29.174.58 UHSb 0 1 en0 - -
44
+ @netstat_nrf_inet = <<~NETSTAT_NRF_INET
45
+ Destination Gateway Flags Refs Use If Exp Groups
46
+ Route Tree for Protocol Family 2 (Internet):
47
+ default 172.29.128.13 UG 0 587683 en0 - -
48
+ 172.29.128.0 172.29.174.58 UHSb 0 0 en0 - - =>
49
+ 172.29.128/18 172.29.174.58 U 7 1035485 en0 - -
50
+ 172.29.191.255 172.29.174.58 UHSb 0 1 en0 - -
51
51
  NETSTAT_NRF_INET
52
52
 
53
- @entstat_err = <<-ENSTAT_ERR
53
+ @entstat_err = <<~ENSTAT_ERR
54
54
 
55
55
 
56
- entstat: 0909-002 Unable to open device en0, errno = 13
57
- grep: 0652-033 Cannot open Address".
56
+ entstat: 0909-002 Unable to open device en0, errno = 13
57
+ grep: 0652-033 Cannot open Address".
58
58
  ENSTAT_ERR
59
59
 
60
- @aix_arp_an = <<-ARP_AN
61
- ? (172.29.131.16) at 6e:87:70:0:40:3 [ethernet] stored in bucket 16
60
+ @aix_arp_an = <<~ARP_AN
61
+ ? (172.29.131.16) at 6e:87:70:0:40:3 [ethernet] stored in bucket 16
62
62
 
63
- ? (10.153.50.202) at 34:40:b5:ab:fb:5a [ethernet] stored in bucket 40
63
+ ? (10.153.50.202) at 34:40:b5:ab:fb:5a [ethernet] stored in bucket 40
64
64
 
65
- ? (10.153.1.99) at 52:54:0:8e:f2:fb [ethernet] stored in bucket 58
65
+ ? (10.153.1.99) at 52:54:0:8e:f2:fb [ethernet] stored in bucket 58
66
66
 
67
- ? (172.29.132.250) at 34:40:b5:a5:d7:1e [ethernet] stored in bucket 59
67
+ ? (172.29.132.250) at 34:40:b5:a5:d7:1e [ethernet] stored in bucket 59
68
68
 
69
- ? (172.29.132.253) at 34:40:b5:a5:d7:2a [ethernet] stored in bucket 62
69
+ ? (172.29.132.253) at 34:40:b5:a5:d7:2a [ethernet] stored in bucket 62
70
70
 
71
- ? (172.29.128.13) at 60:73:5c:69:42:44 [ethernet] stored in bucket 139
71
+ ? (172.29.128.13) at 60:73:5c:69:42:44 [ethernet] stored in bucket 139
72
72
 
73
- bucket: 0 contains: 0 entries
74
- There are 6 entries in the arp table.
73
+ bucket: 0 contains: 0 entries
74
+ There are 6 entries in the arp table.
75
75
  ARP_AN
76
76
 
77
77
  @plugin = get_plugin("aix/network")
@@ -32,216 +32,216 @@ describe Ohai::System, "AIX virtualization plugin" do
32
32
  end
33
33
 
34
34
  before(:each) do
35
- @lswpar_l = <<-LSWPAR_L
36
- =================================================================
37
- applejack-541ba3 - Active
38
- =================================================================
39
- GENERAL
40
- Type: S
41
- RootVG WPAR: no
42
- Owner: root
43
- Hostname: applejack-pony-541ba3.ponyville.com
44
- WPAR-Specific Routing: yes
45
- Virtual IP WPAR:
46
- Directory: /wpars/applejack-541ba3
47
- Start/Stop Script:
48
- Auto: no
49
- Private /usr: yes
50
- Checkpointable: no
51
- Application:
52
- UUID: 541ba314-c7ca-4f67-bc6e-a10d5eaa8541
53
-
54
- NETWORK
55
- Interface Address(6) Mask/Prefix Broadcast
56
- -----------------------------------------------------------------
57
- en0 192.168.0.231 255.255.252.0 192.168.0.255
58
- lo0 127.0.0.1 255.0.0.0 127.255.255.255
59
-
60
- USER-SPECIFIED ROUTES
61
- Type Destination Gateway Interface
62
- -----------------------------------------------------------------
63
- default 192.168.0.1 en0
64
-
65
- FILE SYSTEMS
66
- MountPoint Device Vfs Nodename Options
67
- -----------------------------------------------------------------
68
- /wpars/sink-thinker-5... /dev/fslv00 jfs2 log=NULL
69
- /wpars/sink-thinker-5... /dev/fslv01 jfs2 log=NULL
70
- /wpars/sink-thinker-5... /dev/fslv02 jfs2 log=NULL
71
- /wpars/sink-thinker-5... /proc namefs rw
72
- /wpars/sink-thinker-5... /dev/fslv03 jfs2 log=NULL
73
- /wpars/sink-thinker-5... /dev/fslv04 jfs2 log=NULL
74
- /wpars/sink-thinker-5... /dev/fslv05 jfs2 log=NULL
75
-
76
- RESOURCE CONTROLS
77
- Active: yes
78
- Resource Set:
79
- CPU Shares: unlimited
80
- CPU Limits: 0%-100%,100%
81
- Memory Shares: unlimited
82
- Memory Limits: 0%-100%,100%
83
- Per-Process Virtual Memory Limit: unlimited
84
- Total Virtual Memory Limit: unlimited
85
- Total Processes: unlimited
86
- Total Threads: unlimited
87
- Total PTYs: unlimited
88
- Total Large Pages: unlimited
89
- Max Message Queue IDs: 100%
90
- Max Semaphore IDs: 100%
91
- Max Shared Memory IDs: 100%
92
- Max Pinned Memory: 100%
93
-
94
- OPERATION
95
- Operation: none
96
- Process ID:
97
- Start Time:
98
-
99
- SECURITY SETTINGS
100
- Privileges: PV_AU_,PV_AU_ADD,PV_AU_ADMIN,PV_AU_PROC,PV_AU_READ,
101
- PV_AU_WRITE,PV_AZ_ADMIN,PV_AZ_CHECK,PV_AZ_READ,PV_AZ_ROOT,
102
- PV_DAC_,PV_DAC_GID,PV_DAC_O,PV_DAC_R,PV_DAC_RID,PV_DAC_UID,
103
- PV_DAC_W,PV_DAC_X,PV_DEV_CONFIG,PV_DEV_QUERY,PV_FS_CHOWN,
104
- PV_FS_CHROOT,PV_FS_CNTL,PV_FS_LINKDIR,PV_FS_MKNOD,
105
- PV_FS_MOUNT,PV_FS_PDMODE,PV_FS_QUOTA,PV_KER_ACCT,
106
- PV_KER_CONF,PV_KER_DR,PV_KER_EWLM,PV_KER_EXTCONF,
107
- PV_KER_IPC,PV_KER_IPC_O,PV_KER_IPC_R,PV_KER_IPC_W,
108
- PV_KER_NFS,PV_KER_RAC,PV_KER_RAS_ERR,PV_KER_REBOOT,
109
- PV_NET_PORT,PV_PROC_CKPT,PV_PROC_CORE,PV_PROC_CRED,
110
- PV_PROC_ENV,PV_PROC_PRIO,PV_PROC_PDMODE,PV_PROC_RAC,
111
- PV_PROC_RTCLK,PV_PROC_SIG,PV_PROC_TIMER,PV_PROC_VARS,
112
- PV_PROC_PRIV,PV_SU_UID,PV_TCB,PV_TP,PV_TP_SET,PV_MIC,
113
- PV_MIC_CL,PV_LAB_,PV_LAB_CL,PV_LAB_CLTL,PV_LAB_LEF,
114
- PV_LAB_SLDG,PV_LAB_SLDG_STR,PV_LAB_SL_FILE,PV_LAB_SL_PROC,
115
- PV_LAB_SL_SELF,PV_LAB_SLUG,PV_LAB_SLUG_STR,PV_LAB_TL,
116
- PV_MAC_,PV_MAC_CL,PV_MAC_R,PV_MAC_R_CL,PV_MAC_R_STR,
117
- PV_MAC_R_PROC,PV_MAC_W,PV_MAC_W_CL,PV_MAC_W_DN,PV_MAC_W_UP,
118
- PV_MAC_W_PROC,PV_MAC_OVRRD,PV_KER_SECCONFIG,
119
- PV_PROBEVUE_TRC_USER,PV_PROBEVUE_TRC_USER_SELF,PV_KER_LVM
120
-
121
- DEVICE EXPORTS
122
- Name Type Virtual Device RootVG Status
123
- -----------------------------------------------------------------
124
- /dev/null pseudo EXPORTED
125
- /dev/tty pseudo EXPORTED
126
- /dev/console pseudo EXPORTED
127
- /dev/zero pseudo EXPORTED
128
- /dev/clone pseudo EXPORTED
129
- /dev/sad clone EXPORTED
130
- /dev/xti/tcp clone EXPORTED
131
- /dev/xti/tcp6 clone EXPORTED
132
- /dev/xti/udp clone EXPORTED
133
- /dev/xti/udp6 clone EXPORTED
134
- /dev/xti/unixdg clone EXPORTED
135
- /dev/xti/unixst clone EXPORTED
136
- /dev/error pseudo EXPORTED
137
- /dev/errorctl pseudo EXPORTED
138
- /dev/audit pseudo EXPORTED
139
- /dev/nvram pseudo EXPORTED
140
-
141
- =================================================================
142
- fluttershy-5c969f - Active
143
- =================================================================
144
- GENERAL
145
- Type: S
146
- RootVG WPAR: no
147
- Owner: root
148
- Hostname: fluttershy-pony-5c969f.ponyville.com
149
- WPAR-Specific Routing: yes
150
- Virtual IP WPAR:
151
- Directory: /wpars/fluttershy-5c969f
152
- Start/Stop Script:
153
- Auto: no
154
- Private /usr: yes
155
- Checkpointable: no
156
- Application:
157
- UUID: 6f1fd4be-8be5-4627-8ec0-3a8739cbd9e2
158
-
159
- NETWORK
160
- Interface Address(6) Mask/Prefix Broadcast
161
- -----------------------------------------------------------------
162
- en0 192.168.0.18 255.255.252.0 192.168.0.255
163
- lo0 127.0.0.1 255.0.0.0 127.255.255.255
164
-
165
- USER-SPECIFIED ROUTES
166
- Type Destination Gateway Interface
167
- -----------------------------------------------------------------
168
- default 192.168.0.1 en0
169
-
170
- FILE SYSTEMS
171
- MountPoint Device Vfs Nodename Options
172
- -----------------------------------------------------------------
173
- /wpars/toolchain-test... /dev/fslv07 jfs2 log=NULL
174
- /wpars/toolchain-test... /dev/fslv08 jfs2 log=NULL
175
- /wpars/toolchain-test... /dev/fslv09 jfs2 log=NULL
176
- /wpars/toolchain-test... /proc namefs rw
177
- /wpars/toolchain-test... /dev/fslv10 jfs2 log=NULL
178
- /wpars/toolchain-test... /dev/fslv11 jfs2 log=NULL
179
- /wpars/toolchain-test... /dev/fslv12 jfs2 log=NULL
180
-
181
- RESOURCE CONTROLS
182
- Active: yes
183
- Resource Set:
184
- CPU Shares: unlimited
185
- CPU Limits: 0%-100%,100%
186
- Memory Shares: unlimited
187
- Memory Limits: 0%-100%,100%
188
- Per-Process Virtual Memory Limit: unlimited
189
- Total Virtual Memory Limit: unlimited
190
- Total Processes: unlimited
191
- Total Threads: unlimited
192
- Total PTYs: unlimited
193
- Total Large Pages: unlimited
194
- Max Message Queue IDs: 100%
195
- Max Semaphore IDs: 100%
196
- Max Shared Memory IDs: 100%
197
- Max Pinned Memory: 100%
198
-
199
- OPERATION
200
- Operation: none
201
- Process ID:
202
- Start Time:
203
-
204
- SECURITY SETTINGS
205
- Privileges: PV_AU_,PV_AU_ADD,PV_AU_ADMIN,PV_AU_PROC,PV_AU_READ,
206
- PV_AU_WRITE,PV_AZ_ADMIN,PV_AZ_CHECK,PV_AZ_READ,PV_AZ_ROOT,
207
- PV_DAC_,PV_DAC_GID,PV_DAC_O,PV_DAC_R,PV_DAC_RID,PV_DAC_UID,
208
- PV_DAC_W,PV_DAC_X,PV_DEV_CONFIG,PV_DEV_QUERY,PV_FS_CHOWN,
209
- PV_FS_CHROOT,PV_FS_CNTL,PV_FS_LINKDIR,PV_FS_MKNOD,
210
- PV_FS_MOUNT,PV_FS_PDMODE,PV_FS_QUOTA,PV_KER_ACCT,
211
- PV_KER_CONF,PV_KER_DR,PV_KER_EWLM,PV_KER_EXTCONF,
212
- PV_KER_IPC,PV_KER_IPC_O,PV_KER_IPC_R,PV_KER_IPC_W,
213
- PV_KER_NFS,PV_KER_RAC,PV_KER_RAS_ERR,PV_KER_REBOOT,
214
- PV_NET_PORT,PV_PROC_CKPT,PV_PROC_CORE,PV_PROC_CRED,
215
- PV_PROC_ENV,PV_PROC_PRIO,PV_PROC_PDMODE,PV_PROC_RAC,
216
- PV_PROC_RTCLK,PV_PROC_SIG,PV_PROC_TIMER,PV_PROC_VARS,
217
- PV_PROC_PRIV,PV_SU_UID,PV_TCB,PV_TP,PV_TP_SET,PV_MIC,
218
- PV_MIC_CL,PV_LAB_,PV_LAB_CL,PV_LAB_CLTL,PV_LAB_LEF,
219
- PV_LAB_SLDG,PV_LAB_SLDG_STR,PV_LAB_SL_FILE,PV_LAB_SL_PROC,
220
- PV_LAB_SL_SELF,PV_LAB_SLUG,PV_LAB_SLUG_STR,PV_LAB_TL,
221
- PV_MAC_,PV_MAC_CL,PV_MAC_R,PV_MAC_R_CL,PV_MAC_R_STR,
222
- PV_MAC_R_PROC,PV_MAC_W,PV_MAC_W_CL,PV_MAC_W_DN,PV_MAC_W_UP,
223
- PV_MAC_W_PROC,PV_MAC_OVRRD,PV_KER_SECCONFIG,
224
- PV_PROBEVUE_TRC_USER,PV_PROBEVUE_TRC_USER_SELF,PV_KER_LVM
225
-
226
- DEVICE EXPORTS
227
- Name Type Virtual Device RootVG Status
228
- -----------------------------------------------------------------
229
- /dev/null pseudo EXPORTED
230
- /dev/tty pseudo EXPORTED
231
- /dev/console pseudo EXPORTED
232
- /dev/zero pseudo EXPORTED
233
- /dev/clone pseudo EXPORTED
234
- /dev/sad clone EXPORTED
235
- /dev/xti/tcp clone EXPORTED
236
- /dev/xti/tcp6 clone EXPORTED
237
- /dev/xti/udp clone EXPORTED
238
- /dev/xti/udp6 clone EXPORTED
239
- /dev/xti/unixdg clone EXPORTED
240
- /dev/xti/unixst clone EXPORTED
241
- /dev/error pseudo EXPORTED
242
- /dev/errorctl pseudo EXPORTED
243
- /dev/audit pseudo EXPORTED
244
- /dev/nvram pseudo EXPORTED
35
+ @lswpar_l = <<~LSWPAR_L
36
+ =================================================================
37
+ applejack-541ba3 - Active
38
+ =================================================================
39
+ GENERAL
40
+ Type: S
41
+ RootVG WPAR: no
42
+ Owner: root
43
+ Hostname: applejack-pony-541ba3.ponyville.com
44
+ WPAR-Specific Routing: yes
45
+ Virtual IP WPAR:
46
+ Directory: /wpars/applejack-541ba3
47
+ Start/Stop Script:
48
+ Auto: no
49
+ Private /usr: yes
50
+ Checkpointable: no
51
+ Application:
52
+ UUID: 541ba314-c7ca-4f67-bc6e-a10d5eaa8541
53
+
54
+ NETWORK
55
+ Interface Address(6) Mask/Prefix Broadcast
56
+ -----------------------------------------------------------------
57
+ en0 192.168.0.231 255.255.252.0 192.168.0.255
58
+ lo0 127.0.0.1 255.0.0.0 127.255.255.255
59
+
60
+ USER-SPECIFIED ROUTES
61
+ Type Destination Gateway Interface
62
+ -----------------------------------------------------------------
63
+ default 192.168.0.1 en0
64
+
65
+ FILE SYSTEMS
66
+ MountPoint Device Vfs Nodename Options
67
+ -----------------------------------------------------------------
68
+ /wpars/sink-thinker-5... /dev/fslv00 jfs2 log=NULL
69
+ /wpars/sink-thinker-5... /dev/fslv01 jfs2 log=NULL
70
+ /wpars/sink-thinker-5... /dev/fslv02 jfs2 log=NULL
71
+ /wpars/sink-thinker-5... /proc namefs rw
72
+ /wpars/sink-thinker-5... /dev/fslv03 jfs2 log=NULL
73
+ /wpars/sink-thinker-5... /dev/fslv04 jfs2 log=NULL
74
+ /wpars/sink-thinker-5... /dev/fslv05 jfs2 log=NULL
75
+
76
+ RESOURCE CONTROLS
77
+ Active: yes
78
+ Resource Set:
79
+ CPU Shares: unlimited
80
+ CPU Limits: 0%-100%,100%
81
+ Memory Shares: unlimited
82
+ Memory Limits: 0%-100%,100%
83
+ Per-Process Virtual Memory Limit: unlimited
84
+ Total Virtual Memory Limit: unlimited
85
+ Total Processes: unlimited
86
+ Total Threads: unlimited
87
+ Total PTYs: unlimited
88
+ Total Large Pages: unlimited
89
+ Max Message Queue IDs: 100%
90
+ Max Semaphore IDs: 100%
91
+ Max Shared Memory IDs: 100%
92
+ Max Pinned Memory: 100%
93
+
94
+ OPERATION
95
+ Operation: none
96
+ Process ID:
97
+ Start Time:
98
+
99
+ SECURITY SETTINGS
100
+ Privileges: PV_AU_,PV_AU_ADD,PV_AU_ADMIN,PV_AU_PROC,PV_AU_READ,
101
+ PV_AU_WRITE,PV_AZ_ADMIN,PV_AZ_CHECK,PV_AZ_READ,PV_AZ_ROOT,
102
+ PV_DAC_,PV_DAC_GID,PV_DAC_O,PV_DAC_R,PV_DAC_RID,PV_DAC_UID,
103
+ PV_DAC_W,PV_DAC_X,PV_DEV_CONFIG,PV_DEV_QUERY,PV_FS_CHOWN,
104
+ PV_FS_CHROOT,PV_FS_CNTL,PV_FS_LINKDIR,PV_FS_MKNOD,
105
+ PV_FS_MOUNT,PV_FS_PDMODE,PV_FS_QUOTA,PV_KER_ACCT,
106
+ PV_KER_CONF,PV_KER_DR,PV_KER_EWLM,PV_KER_EXTCONF,
107
+ PV_KER_IPC,PV_KER_IPC_O,PV_KER_IPC_R,PV_KER_IPC_W,
108
+ PV_KER_NFS,PV_KER_RAC,PV_KER_RAS_ERR,PV_KER_REBOOT,
109
+ PV_NET_PORT,PV_PROC_CKPT,PV_PROC_CORE,PV_PROC_CRED,
110
+ PV_PROC_ENV,PV_PROC_PRIO,PV_PROC_PDMODE,PV_PROC_RAC,
111
+ PV_PROC_RTCLK,PV_PROC_SIG,PV_PROC_TIMER,PV_PROC_VARS,
112
+ PV_PROC_PRIV,PV_SU_UID,PV_TCB,PV_TP,PV_TP_SET,PV_MIC,
113
+ PV_MIC_CL,PV_LAB_,PV_LAB_CL,PV_LAB_CLTL,PV_LAB_LEF,
114
+ PV_LAB_SLDG,PV_LAB_SLDG_STR,PV_LAB_SL_FILE,PV_LAB_SL_PROC,
115
+ PV_LAB_SL_SELF,PV_LAB_SLUG,PV_LAB_SLUG_STR,PV_LAB_TL,
116
+ PV_MAC_,PV_MAC_CL,PV_MAC_R,PV_MAC_R_CL,PV_MAC_R_STR,
117
+ PV_MAC_R_PROC,PV_MAC_W,PV_MAC_W_CL,PV_MAC_W_DN,PV_MAC_W_UP,
118
+ PV_MAC_W_PROC,PV_MAC_OVRRD,PV_KER_SECCONFIG,
119
+ PV_PROBEVUE_TRC_USER,PV_PROBEVUE_TRC_USER_SELF,PV_KER_LVM
120
+
121
+ DEVICE EXPORTS
122
+ Name Type Virtual Device RootVG Status
123
+ -----------------------------------------------------------------
124
+ /dev/null pseudo EXPORTED
125
+ /dev/tty pseudo EXPORTED
126
+ /dev/console pseudo EXPORTED
127
+ /dev/zero pseudo EXPORTED
128
+ /dev/clone pseudo EXPORTED
129
+ /dev/sad clone EXPORTED
130
+ /dev/xti/tcp clone EXPORTED
131
+ /dev/xti/tcp6 clone EXPORTED
132
+ /dev/xti/udp clone EXPORTED
133
+ /dev/xti/udp6 clone EXPORTED
134
+ /dev/xti/unixdg clone EXPORTED
135
+ /dev/xti/unixst clone EXPORTED
136
+ /dev/error pseudo EXPORTED
137
+ /dev/errorctl pseudo EXPORTED
138
+ /dev/audit pseudo EXPORTED
139
+ /dev/nvram pseudo EXPORTED
140
+
141
+ =================================================================
142
+ fluttershy-5c969f - Active
143
+ =================================================================
144
+ GENERAL
145
+ Type: S
146
+ RootVG WPAR: no
147
+ Owner: root
148
+ Hostname: fluttershy-pony-5c969f.ponyville.com
149
+ WPAR-Specific Routing: yes
150
+ Virtual IP WPAR:
151
+ Directory: /wpars/fluttershy-5c969f
152
+ Start/Stop Script:
153
+ Auto: no
154
+ Private /usr: yes
155
+ Checkpointable: no
156
+ Application:
157
+ UUID: 6f1fd4be-8be5-4627-8ec0-3a8739cbd9e2
158
+
159
+ NETWORK
160
+ Interface Address(6) Mask/Prefix Broadcast
161
+ -----------------------------------------------------------------
162
+ en0 192.168.0.18 255.255.252.0 192.168.0.255
163
+ lo0 127.0.0.1 255.0.0.0 127.255.255.255
164
+
165
+ USER-SPECIFIED ROUTES
166
+ Type Destination Gateway Interface
167
+ -----------------------------------------------------------------
168
+ default 192.168.0.1 en0
169
+
170
+ FILE SYSTEMS
171
+ MountPoint Device Vfs Nodename Options
172
+ -----------------------------------------------------------------
173
+ /wpars/toolchain-test... /dev/fslv07 jfs2 log=NULL
174
+ /wpars/toolchain-test... /dev/fslv08 jfs2 log=NULL
175
+ /wpars/toolchain-test... /dev/fslv09 jfs2 log=NULL
176
+ /wpars/toolchain-test... /proc namefs rw
177
+ /wpars/toolchain-test... /dev/fslv10 jfs2 log=NULL
178
+ /wpars/toolchain-test... /dev/fslv11 jfs2 log=NULL
179
+ /wpars/toolchain-test... /dev/fslv12 jfs2 log=NULL
180
+
181
+ RESOURCE CONTROLS
182
+ Active: yes
183
+ Resource Set:
184
+ CPU Shares: unlimited
185
+ CPU Limits: 0%-100%,100%
186
+ Memory Shares: unlimited
187
+ Memory Limits: 0%-100%,100%
188
+ Per-Process Virtual Memory Limit: unlimited
189
+ Total Virtual Memory Limit: unlimited
190
+ Total Processes: unlimited
191
+ Total Threads: unlimited
192
+ Total PTYs: unlimited
193
+ Total Large Pages: unlimited
194
+ Max Message Queue IDs: 100%
195
+ Max Semaphore IDs: 100%
196
+ Max Shared Memory IDs: 100%
197
+ Max Pinned Memory: 100%
198
+
199
+ OPERATION
200
+ Operation: none
201
+ Process ID:
202
+ Start Time:
203
+
204
+ SECURITY SETTINGS
205
+ Privileges: PV_AU_,PV_AU_ADD,PV_AU_ADMIN,PV_AU_PROC,PV_AU_READ,
206
+ PV_AU_WRITE,PV_AZ_ADMIN,PV_AZ_CHECK,PV_AZ_READ,PV_AZ_ROOT,
207
+ PV_DAC_,PV_DAC_GID,PV_DAC_O,PV_DAC_R,PV_DAC_RID,PV_DAC_UID,
208
+ PV_DAC_W,PV_DAC_X,PV_DEV_CONFIG,PV_DEV_QUERY,PV_FS_CHOWN,
209
+ PV_FS_CHROOT,PV_FS_CNTL,PV_FS_LINKDIR,PV_FS_MKNOD,
210
+ PV_FS_MOUNT,PV_FS_PDMODE,PV_FS_QUOTA,PV_KER_ACCT,
211
+ PV_KER_CONF,PV_KER_DR,PV_KER_EWLM,PV_KER_EXTCONF,
212
+ PV_KER_IPC,PV_KER_IPC_O,PV_KER_IPC_R,PV_KER_IPC_W,
213
+ PV_KER_NFS,PV_KER_RAC,PV_KER_RAS_ERR,PV_KER_REBOOT,
214
+ PV_NET_PORT,PV_PROC_CKPT,PV_PROC_CORE,PV_PROC_CRED,
215
+ PV_PROC_ENV,PV_PROC_PRIO,PV_PROC_PDMODE,PV_PROC_RAC,
216
+ PV_PROC_RTCLK,PV_PROC_SIG,PV_PROC_TIMER,PV_PROC_VARS,
217
+ PV_PROC_PRIV,PV_SU_UID,PV_TCB,PV_TP,PV_TP_SET,PV_MIC,
218
+ PV_MIC_CL,PV_LAB_,PV_LAB_CL,PV_LAB_CLTL,PV_LAB_LEF,
219
+ PV_LAB_SLDG,PV_LAB_SLDG_STR,PV_LAB_SL_FILE,PV_LAB_SL_PROC,
220
+ PV_LAB_SL_SELF,PV_LAB_SLUG,PV_LAB_SLUG_STR,PV_LAB_TL,
221
+ PV_MAC_,PV_MAC_CL,PV_MAC_R,PV_MAC_R_CL,PV_MAC_R_STR,
222
+ PV_MAC_R_PROC,PV_MAC_W,PV_MAC_W_CL,PV_MAC_W_DN,PV_MAC_W_UP,
223
+ PV_MAC_W_PROC,PV_MAC_OVRRD,PV_KER_SECCONFIG,
224
+ PV_PROBEVUE_TRC_USER,PV_PROBEVUE_TRC_USER_SELF,PV_KER_LVM
225
+
226
+ DEVICE EXPORTS
227
+ Name Type Virtual Device RootVG Status
228
+ -----------------------------------------------------------------
229
+ /dev/null pseudo EXPORTED
230
+ /dev/tty pseudo EXPORTED
231
+ /dev/console pseudo EXPORTED
232
+ /dev/zero pseudo EXPORTED
233
+ /dev/clone pseudo EXPORTED
234
+ /dev/sad clone EXPORTED
235
+ /dev/xti/tcp clone EXPORTED
236
+ /dev/xti/tcp6 clone EXPORTED
237
+ /dev/xti/udp clone EXPORTED
238
+ /dev/xti/udp6 clone EXPORTED
239
+ /dev/xti/unixdg clone EXPORTED
240
+ /dev/xti/unixst clone EXPORTED
241
+ /dev/error pseudo EXPORTED
242
+ /dev/errorctl pseudo EXPORTED
243
+ /dev/audit pseudo EXPORTED
244
+ /dev/nvram pseudo EXPORTED
245
245
 
246
246
 
247
247
  LSWPAR_L