facter 1.7.3 → 1.7.4.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of facter might be problematic. Click here for more details.

Files changed (39) hide show
  1. data/Gemfile +10 -7
  2. data/bin/facter +0 -58
  3. data/ext/build_defaults.yaml +2 -2
  4. data/ext/debian/rules +1 -1
  5. data/lib/facter/application.rb +69 -24
  6. data/lib/facter/architecture.rb +14 -1
  7. data/lib/facter/operatingsystemrelease.rb +3 -3
  8. data/lib/facter/util/architecture.rb +19 -0
  9. data/lib/facter/util/collection.rb +13 -7
  10. data/lib/facter/util/config.rb +11 -5
  11. data/lib/facter/util/ip/windows.rb +2 -2
  12. data/lib/facter/util/loader.rb +1 -1
  13. data/lib/facter/util/memory.rb +19 -3
  14. data/lib/facter/util/parser.rb +13 -5
  15. data/lib/facter/util/processor.rb +2 -0
  16. data/lib/facter/util/resolution.rb +3 -3
  17. data/lib/facter/util/unix_root.rb +5 -0
  18. data/lib/facter/util/windows_root.rb +37 -0
  19. data/lib/facter/version.rb +1 -1
  20. data/lib/facter/virtual.rb +20 -10
  21. data/spec/fixtures/cpuinfo/amd64twentyfour +600 -0
  22. data/spec/fixtures/hpux/machinfo/superdome-server-SD32B +53 -0
  23. data/spec/fixtures/hpux/machinfo/superdome2-16s +31 -0
  24. data/spec/fixtures/processorcount/solaris-psrinfo +24 -0
  25. data/spec/lib/facter_spec/cpuinfo.rb +15 -0
  26. data/spec/unit/architecture_spec.rb +8 -0
  27. data/spec/unit/ec2_spec.rb +1 -1
  28. data/spec/unit/memory_spec.rb +27 -4
  29. data/spec/unit/operatingsystemrelease_spec.rb +2 -2
  30. data/spec/unit/processor_spec.rb +120 -151
  31. data/spec/unit/util/collection_spec.rb +17 -1
  32. data/spec/unit/util/config_spec.rb +9 -0
  33. data/spec/unit/util/ip/windows_spec.rb +34 -2
  34. data/spec/unit/util/loader_spec.rb +1 -1
  35. data/spec/unit/util/parser_spec.rb +65 -51
  36. data/spec/unit/util/processor_spec.rb +7 -8
  37. data/spec/unit/util/resolution_spec.rb +3 -3
  38. data/spec/unit/virtual_spec.rb +18 -0
  39. metadata +491 -478
@@ -68,6 +68,8 @@ module Facter::Util::Parser
68
68
 
69
69
  module KeyValuePairOutputFormat
70
70
  def self.parse(output)
71
+ return {} if output.nil?
72
+
71
73
  result = {}
72
74
  re = /^(.+?)=(.+)$/
73
75
  output.each_line do |line|
@@ -100,7 +102,7 @@ module Facter::Util::Parser
100
102
  end
101
103
 
102
104
  class JsonParser < Base
103
- def results
105
+ def parse_results
104
106
  if Facter.json?
105
107
  JSON.load(content)
106
108
  else
@@ -116,8 +118,14 @@ module Facter::Util::Parser
116
118
  end
117
119
 
118
120
  class ScriptParser < Base
119
- def results
120
- KeyValuePairOutputFormat.parse Facter::Util::Resolution.exec(filename)
121
+ def parse_results
122
+ KeyValuePairOutputFormat.parse Facter::Util::Resolution.exec(quote(filename))
123
+ end
124
+
125
+ private
126
+
127
+ def quote(filename)
128
+ filename.index(' ') ? "\"#{filename}\"" : filename
121
129
  end
122
130
  end
123
131
 
@@ -125,14 +133,14 @@ module Facter::Util::Parser
125
133
  if Facter::Util::Config.is_windows?
126
134
  extension_matches?(filename, %w{bat cmd com exe}) && File.file?(filename)
127
135
  else
128
- File.executable?(filename) && File.file?(filename)
136
+ File.executable?(filename) && File.file?(filename) && ! extension_matches?(filename, %w{bat cmd com exe})
129
137
  end
130
138
  end
131
139
 
132
140
  # Executes and parses the key value output of Powershell scripts
133
141
  class PowershellParser < Base
134
142
  # Returns a hash of facts from powershell output
135
- def results
143
+ def parse_results
136
144
  shell_command = "powershell -NoProfile -NonInteractive -NoLogo -ExecutionPolicy Bypass -File \"#{filename}\""
137
145
  KeyValuePairOutputFormat.parse Facter::Util::Resolution.exec(shell_command)
138
146
  end
@@ -87,6 +87,8 @@ module Processor
87
87
  elsif line.match(/\d+\s+((?:PA-RISC|Intel).*processors.*)/) then
88
88
  cpu = $1.to_s
89
89
  cpu.sub!(/processors/, "processor")
90
+ elsif line.match(/\s+(Intel.*Processor.*)/) then
91
+ cpu = $1.to_s
90
92
  end
91
93
  end
92
94
  end
@@ -174,7 +174,7 @@ class Facter::Util::Resolution
174
174
  # command not found on Windows
175
175
  return nil
176
176
  rescue => detail
177
- $stderr.puts detail
177
+ Facter.warn(detail)
178
178
  return nil
179
179
  end
180
180
 
@@ -307,7 +307,7 @@ class Facter::Util::Resolution
307
307
  end
308
308
  end
309
309
  rescue Timeout::Error => detail
310
- warn "Timed out seeking value for %s" % self.name
310
+ Facter.warn "Timed out seeking value for %s" % self.name
311
311
 
312
312
  # This call avoids zombies -- basically, create a thread that will
313
313
  # dezombify all of the child processes that we're ignoring because
@@ -315,7 +315,7 @@ class Facter::Util::Resolution
315
315
  Thread.new { Process.waitall }
316
316
  return nil
317
317
  rescue => details
318
- warn "Could not retrieve %s: %s" % [self.name, details]
318
+ Facter.warn "Could not retrieve %s: %s" % [self.name, details]
319
319
  return nil
320
320
  end
321
321
 
@@ -0,0 +1,5 @@
1
+ module Facter::Util::Root
2
+ def self.root?
3
+ Process.uid == 0
4
+ end
5
+ end
@@ -0,0 +1,37 @@
1
+ require 'windows/system_info'
2
+ require 'windows/security'
3
+ require 'sys/admin'
4
+
5
+ module Facter::Util::Root
6
+ extend ::Windows::SystemInfo
7
+ extend ::Windows::Security
8
+
9
+ def self.root?
10
+ # if Vista or later, check for unrestricted process token
11
+ return Win32::Security.elevated_security? unless windows_version < 6.0
12
+
13
+ # otherwise 2003 or less
14
+ check_token_membership
15
+ end
16
+
17
+ def self.check_token_membership
18
+ sid = 0.chr * 80
19
+ size = [80].pack('L')
20
+ member = 0.chr * 4
21
+
22
+ unless CreateWellKnownSid(Windows::Security::WinBuiltinAdministratorsSid, nil, sid, size)
23
+ raise "Failed to create administrators SID"
24
+ end
25
+
26
+ unless IsValidSid(sid)
27
+ raise "Invalid SID"
28
+ end
29
+
30
+ unless CheckTokenMembership(nil, sid, member)
31
+ raise "Failed to check membership"
32
+ end
33
+
34
+ # Is administrators SID enabled in calling thread's access token?
35
+ member.unpack('L')[0] == 1
36
+ end
37
+ end
@@ -1,6 +1,6 @@
1
1
  module Facter
2
2
  if not defined? FACTERVERSION then
3
- FACTERVERSION = '1.7.3'
3
+ FACTERVERSION = '1.7.4-rc1'
4
4
  end
5
5
 
6
6
  ##
@@ -163,17 +163,27 @@ Facter.add("virtual") do
163
163
  require 'facter/util/wmi'
164
164
  result = nil
165
165
  Facter::Util::WMI.execquery("SELECT manufacturer, model FROM Win32_ComputerSystem").each do |computersystem|
166
- result =
167
- case computersystem.model
168
- when /VirtualBox/ then "virtualbox"
169
- when /Virtual Machine/
170
- computersystem.manufacturer =~ /Microsoft/ ? "hyperv" : nil
171
- when /VMware/ then "vmware"
172
- when /KVM/ then "kvm"
173
- else "physical"
174
- end
166
+ case computersystem.model
167
+ when /VirtualBox/
168
+ result = "virtualbox"
169
+ when /Virtual Machine/
170
+ result = "hyperv" if computersystem.manufacturer =~ /Microsoft/
171
+ when /VMware/
172
+ result = "vmware"
173
+ when /KVM/
174
+ result = "kvm"
175
+ when /Bochs/
176
+ result = "bochs"
177
+ end
178
+
179
+ if result.nil? and computersystem.manufacturer =~ /Xen/
180
+ result = "xen"
181
+ end
182
+
175
183
  break
176
184
  end
185
+ result ||= "physical"
186
+
177
187
  result
178
188
  end
179
189
  end
@@ -242,7 +252,7 @@ Facter.add("is_virtual") do
242
252
  confine :kernel => %w{Linux FreeBSD OpenBSD SunOS HP-UX Darwin GNU/kFreeBSD windows}
243
253
 
244
254
  setcode do
245
- physical_types = %w{physical xen0 vmware_server vmware_workstation openvzhn}
255
+ physical_types = %w{physical xen0 vmware_server vmware_workstation openvzhn vserver_host}
246
256
 
247
257
  if physical_types.include? Facter.value(:virtual)
248
258
  "false"
@@ -0,0 +1,600 @@
1
+ processor : 0
2
+ vendor_id : GenuineIntel
3
+ cpu family : 6
4
+ model : 44
5
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
6
+ stepping : 2
7
+ cpu MHz : 3068.000
8
+ cache size : 12288 KB
9
+ physical id : 0
10
+ siblings : 12
11
+ core id : 0
12
+ cpu cores : 6
13
+ apicid : 0
14
+ initial apicid : 0
15
+ fpu : yes
16
+ fpu_exception : yes
17
+ cpuid level : 11
18
+ wp : yes
19
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
20
+ bogomips : 6133.05
21
+ clflush size : 64
22
+ cache_alignment : 64
23
+ address sizes : 40 bits physical, 48 bits virtual
24
+ power management:
25
+
26
+ processor : 1
27
+ vendor_id : GenuineIntel
28
+ cpu family : 6
29
+ model : 44
30
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
31
+ stepping : 2
32
+ cpu MHz : 3068.000
33
+ cache size : 12288 KB
34
+ physical id : 0
35
+ siblings : 12
36
+ core id : 1
37
+ cpu cores : 6
38
+ apicid : 2
39
+ initial apicid : 2
40
+ fpu : yes
41
+ fpu_exception : yes
42
+ cpuid level : 11
43
+ wp : yes
44
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
45
+ bogomips : 6133.05
46
+ clflush size : 64
47
+ cache_alignment : 64
48
+ address sizes : 40 bits physical, 48 bits virtual
49
+ power management:
50
+
51
+ processor : 2
52
+ vendor_id : GenuineIntel
53
+ cpu family : 6
54
+ model : 44
55
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
56
+ stepping : 2
57
+ cpu MHz : 3068.000
58
+ cache size : 12288 KB
59
+ physical id : 0
60
+ siblings : 12
61
+ core id : 2
62
+ cpu cores : 6
63
+ apicid : 4
64
+ initial apicid : 4
65
+ fpu : yes
66
+ fpu_exception : yes
67
+ cpuid level : 11
68
+ wp : yes
69
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
70
+ bogomips : 6133.05
71
+ clflush size : 64
72
+ cache_alignment : 64
73
+ address sizes : 40 bits physical, 48 bits virtual
74
+ power management:
75
+
76
+ processor : 3
77
+ vendor_id : GenuineIntel
78
+ cpu family : 6
79
+ model : 44
80
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
81
+ stepping : 2
82
+ cpu MHz : 3068.000
83
+ cache size : 12288 KB
84
+ physical id : 0
85
+ siblings : 12
86
+ core id : 8
87
+ cpu cores : 6
88
+ apicid : 16
89
+ initial apicid : 16
90
+ fpu : yes
91
+ fpu_exception : yes
92
+ cpuid level : 11
93
+ wp : yes
94
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
95
+ bogomips : 6133.05
96
+ clflush size : 64
97
+ cache_alignment : 64
98
+ address sizes : 40 bits physical, 48 bits virtual
99
+ power management:
100
+
101
+ processor : 4
102
+ vendor_id : GenuineIntel
103
+ cpu family : 6
104
+ model : 44
105
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
106
+ stepping : 2
107
+ cpu MHz : 3068.000
108
+ cache size : 12288 KB
109
+ physical id : 0
110
+ siblings : 12
111
+ core id : 9
112
+ cpu cores : 6
113
+ apicid : 18
114
+ initial apicid : 18
115
+ fpu : yes
116
+ fpu_exception : yes
117
+ cpuid level : 11
118
+ wp : yes
119
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
120
+ bogomips : 6133.05
121
+ clflush size : 64
122
+ cache_alignment : 64
123
+ address sizes : 40 bits physical, 48 bits virtual
124
+ power management:
125
+
126
+ processor : 5
127
+ vendor_id : GenuineIntel
128
+ cpu family : 6
129
+ model : 44
130
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
131
+ stepping : 2
132
+ cpu MHz : 3068.000
133
+ cache size : 12288 KB
134
+ physical id : 0
135
+ siblings : 12
136
+ core id : 10
137
+ cpu cores : 6
138
+ apicid : 20
139
+ initial apicid : 20
140
+ fpu : yes
141
+ fpu_exception : yes
142
+ cpuid level : 11
143
+ wp : yes
144
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
145
+ bogomips : 6133.05
146
+ clflush size : 64
147
+ cache_alignment : 64
148
+ address sizes : 40 bits physical, 48 bits virtual
149
+ power management:
150
+
151
+ processor : 6
152
+ vendor_id : GenuineIntel
153
+ cpu family : 6
154
+ model : 44
155
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
156
+ stepping : 2
157
+ cpu MHz : 3068.000
158
+ cache size : 12288 KB
159
+ physical id : 1
160
+ siblings : 12
161
+ core id : 0
162
+ cpu cores : 6
163
+ apicid : 32
164
+ initial apicid : 32
165
+ fpu : yes
166
+ fpu_exception : yes
167
+ cpuid level : 11
168
+ wp : yes
169
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
170
+ bogomips : 6133.17
171
+ clflush size : 64
172
+ cache_alignment : 64
173
+ address sizes : 40 bits physical, 48 bits virtual
174
+ power management:
175
+
176
+ processor : 7
177
+ vendor_id : GenuineIntel
178
+ cpu family : 6
179
+ model : 44
180
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
181
+ stepping : 2
182
+ cpu MHz : 3068.000
183
+ cache size : 12288 KB
184
+ physical id : 1
185
+ siblings : 12
186
+ core id : 1
187
+ cpu cores : 6
188
+ apicid : 34
189
+ initial apicid : 34
190
+ fpu : yes
191
+ fpu_exception : yes
192
+ cpuid level : 11
193
+ wp : yes
194
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
195
+ bogomips : 6133.17
196
+ clflush size : 64
197
+ cache_alignment : 64
198
+ address sizes : 40 bits physical, 48 bits virtual
199
+ power management:
200
+
201
+ processor : 8
202
+ vendor_id : GenuineIntel
203
+ cpu family : 6
204
+ model : 44
205
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
206
+ stepping : 2
207
+ cpu MHz : 3068.000
208
+ cache size : 12288 KB
209
+ physical id : 1
210
+ siblings : 12
211
+ core id : 2
212
+ cpu cores : 6
213
+ apicid : 36
214
+ initial apicid : 36
215
+ fpu : yes
216
+ fpu_exception : yes
217
+ cpuid level : 11
218
+ wp : yes
219
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
220
+ bogomips : 6133.17
221
+ clflush size : 64
222
+ cache_alignment : 64
223
+ address sizes : 40 bits physical, 48 bits virtual
224
+ power management:
225
+
226
+ processor : 9
227
+ vendor_id : GenuineIntel
228
+ cpu family : 6
229
+ model : 44
230
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
231
+ stepping : 2
232
+ cpu MHz : 3068.000
233
+ cache size : 12288 KB
234
+ physical id : 1
235
+ siblings : 12
236
+ core id : 8
237
+ cpu cores : 6
238
+ apicid : 48
239
+ initial apicid : 48
240
+ fpu : yes
241
+ fpu_exception : yes
242
+ cpuid level : 11
243
+ wp : yes
244
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
245
+ bogomips : 6133.17
246
+ clflush size : 64
247
+ cache_alignment : 64
248
+ address sizes : 40 bits physical, 48 bits virtual
249
+ power management:
250
+
251
+ processor : 10
252
+ vendor_id : GenuineIntel
253
+ cpu family : 6
254
+ model : 44
255
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
256
+ stepping : 2
257
+ cpu MHz : 3068.000
258
+ cache size : 12288 KB
259
+ physical id : 1
260
+ siblings : 12
261
+ core id : 9
262
+ cpu cores : 6
263
+ apicid : 50
264
+ initial apicid : 50
265
+ fpu : yes
266
+ fpu_exception : yes
267
+ cpuid level : 11
268
+ wp : yes
269
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
270
+ bogomips : 6133.17
271
+ clflush size : 64
272
+ cache_alignment : 64
273
+ address sizes : 40 bits physical, 48 bits virtual
274
+ power management:
275
+
276
+ processor : 11
277
+ vendor_id : GenuineIntel
278
+ cpu family : 6
279
+ model : 44
280
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
281
+ stepping : 2
282
+ cpu MHz : 3068.000
283
+ cache size : 12288 KB
284
+ physical id : 1
285
+ siblings : 12
286
+ core id : 10
287
+ cpu cores : 6
288
+ apicid : 52
289
+ initial apicid : 52
290
+ fpu : yes
291
+ fpu_exception : yes
292
+ cpuid level : 11
293
+ wp : yes
294
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
295
+ bogomips : 6133.17
296
+ clflush size : 64
297
+ cache_alignment : 64
298
+ address sizes : 40 bits physical, 48 bits virtual
299
+ power management:
300
+
301
+ processor : 12
302
+ vendor_id : GenuineIntel
303
+ cpu family : 6
304
+ model : 44
305
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
306
+ stepping : 2
307
+ cpu MHz : 3068.000
308
+ cache size : 12288 KB
309
+ physical id : 0
310
+ siblings : 12
311
+ core id : 0
312
+ cpu cores : 6
313
+ apicid : 1
314
+ initial apicid : 1
315
+ fpu : yes
316
+ fpu_exception : yes
317
+ cpuid level : 11
318
+ wp : yes
319
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
320
+ bogomips : 6133.05
321
+ clflush size : 64
322
+ cache_alignment : 64
323
+ address sizes : 40 bits physical, 48 bits virtual
324
+ power management:
325
+
326
+ processor : 13
327
+ vendor_id : GenuineIntel
328
+ cpu family : 6
329
+ model : 44
330
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
331
+ stepping : 2
332
+ cpu MHz : 3068.000
333
+ cache size : 12288 KB
334
+ physical id : 0
335
+ siblings : 12
336
+ core id : 1
337
+ cpu cores : 6
338
+ apicid : 3
339
+ initial apicid : 3
340
+ fpu : yes
341
+ fpu_exception : yes
342
+ cpuid level : 11
343
+ wp : yes
344
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
345
+ bogomips : 6133.05
346
+ clflush size : 64
347
+ cache_alignment : 64
348
+ address sizes : 40 bits physical, 48 bits virtual
349
+ power management:
350
+
351
+ processor : 14
352
+ vendor_id : GenuineIntel
353
+ cpu family : 6
354
+ model : 44
355
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
356
+ stepping : 2
357
+ cpu MHz : 3068.000
358
+ cache size : 12288 KB
359
+ physical id : 0
360
+ siblings : 12
361
+ core id : 2
362
+ cpu cores : 6
363
+ apicid : 5
364
+ initial apicid : 5
365
+ fpu : yes
366
+ fpu_exception : yes
367
+ cpuid level : 11
368
+ wp : yes
369
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
370
+ bogomips : 6133.05
371
+ clflush size : 64
372
+ cache_alignment : 64
373
+ address sizes : 40 bits physical, 48 bits virtual
374
+ power management:
375
+
376
+ processor : 15
377
+ vendor_id : GenuineIntel
378
+ cpu family : 6
379
+ model : 44
380
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
381
+ stepping : 2
382
+ cpu MHz : 3068.000
383
+ cache size : 12288 KB
384
+ physical id : 0
385
+ siblings : 12
386
+ core id : 8
387
+ cpu cores : 6
388
+ apicid : 17
389
+ initial apicid : 17
390
+ fpu : yes
391
+ fpu_exception : yes
392
+ cpuid level : 11
393
+ wp : yes
394
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
395
+ bogomips : 6133.05
396
+ clflush size : 64
397
+ cache_alignment : 64
398
+ address sizes : 40 bits physical, 48 bits virtual
399
+ power management:
400
+
401
+ processor : 16
402
+ vendor_id : GenuineIntel
403
+ cpu family : 6
404
+ model : 44
405
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
406
+ stepping : 2
407
+ cpu MHz : 3068.000
408
+ cache size : 12288 KB
409
+ physical id : 0
410
+ siblings : 12
411
+ core id : 9
412
+ cpu cores : 6
413
+ apicid : 19
414
+ initial apicid : 19
415
+ fpu : yes
416
+ fpu_exception : yes
417
+ cpuid level : 11
418
+ wp : yes
419
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
420
+ bogomips : 6133.05
421
+ clflush size : 64
422
+ cache_alignment : 64
423
+ address sizes : 40 bits physical, 48 bits virtual
424
+ power management:
425
+
426
+ processor : 17
427
+ vendor_id : GenuineIntel
428
+ cpu family : 6
429
+ model : 44
430
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
431
+ stepping : 2
432
+ cpu MHz : 3068.000
433
+ cache size : 12288 KB
434
+ physical id : 0
435
+ siblings : 12
436
+ core id : 10
437
+ cpu cores : 6
438
+ apicid : 21
439
+ initial apicid : 21
440
+ fpu : yes
441
+ fpu_exception : yes
442
+ cpuid level : 11
443
+ wp : yes
444
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
445
+ bogomips : 6133.05
446
+ clflush size : 64
447
+ cache_alignment : 64
448
+ address sizes : 40 bits physical, 48 bits virtual
449
+ power management:
450
+
451
+ processor : 18
452
+ vendor_id : GenuineIntel
453
+ cpu family : 6
454
+ model : 44
455
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
456
+ stepping : 2
457
+ cpu MHz : 3068.000
458
+ cache size : 12288 KB
459
+ physical id : 1
460
+ siblings : 12
461
+ core id : 0
462
+ cpu cores : 6
463
+ apicid : 33
464
+ initial apicid : 33
465
+ fpu : yes
466
+ fpu_exception : yes
467
+ cpuid level : 11
468
+ wp : yes
469
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
470
+ bogomips : 6133.17
471
+ clflush size : 64
472
+ cache_alignment : 64
473
+ address sizes : 40 bits physical, 48 bits virtual
474
+ power management:
475
+
476
+ processor : 19
477
+ vendor_id : GenuineIntel
478
+ cpu family : 6
479
+ model : 44
480
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
481
+ stepping : 2
482
+ cpu MHz : 3068.000
483
+ cache size : 12288 KB
484
+ physical id : 1
485
+ siblings : 12
486
+ core id : 1
487
+ cpu cores : 6
488
+ apicid : 35
489
+ initial apicid : 35
490
+ fpu : yes
491
+ fpu_exception : yes
492
+ cpuid level : 11
493
+ wp : yes
494
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
495
+ bogomips : 6133.17
496
+ clflush size : 64
497
+ cache_alignment : 64
498
+ address sizes : 40 bits physical, 48 bits virtual
499
+ power management:
500
+
501
+ processor : 20
502
+ vendor_id : GenuineIntel
503
+ cpu family : 6
504
+ model : 44
505
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
506
+ stepping : 2
507
+ cpu MHz : 3068.000
508
+ cache size : 12288 KB
509
+ physical id : 1
510
+ siblings : 12
511
+ core id : 2
512
+ cpu cores : 6
513
+ apicid : 37
514
+ initial apicid : 37
515
+ fpu : yes
516
+ fpu_exception : yes
517
+ cpuid level : 11
518
+ wp : yes
519
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
520
+ bogomips : 6133.17
521
+ clflush size : 64
522
+ cache_alignment : 64
523
+ address sizes : 40 bits physical, 48 bits virtual
524
+ power management:
525
+
526
+ processor : 21
527
+ vendor_id : GenuineIntel
528
+ cpu family : 6
529
+ model : 44
530
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
531
+ stepping : 2
532
+ cpu MHz : 3068.000
533
+ cache size : 12288 KB
534
+ physical id : 1
535
+ siblings : 12
536
+ core id : 8
537
+ cpu cores : 6
538
+ apicid : 49
539
+ initial apicid : 49
540
+ fpu : yes
541
+ fpu_exception : yes
542
+ cpuid level : 11
543
+ wp : yes
544
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
545
+ bogomips : 6133.17
546
+ clflush size : 64
547
+ cache_alignment : 64
548
+ address sizes : 40 bits physical, 48 bits virtual
549
+ power management:
550
+
551
+ processor : 22
552
+ vendor_id : GenuineIntel
553
+ cpu family : 6
554
+ model : 44
555
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
556
+ stepping : 2
557
+ cpu MHz : 3068.000
558
+ cache size : 12288 KB
559
+ physical id : 1
560
+ siblings : 12
561
+ core id : 9
562
+ cpu cores : 6
563
+ apicid : 51
564
+ initial apicid : 51
565
+ fpu : yes
566
+ fpu_exception : yes
567
+ cpuid level : 11
568
+ wp : yes
569
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
570
+ bogomips : 6133.17
571
+ clflush size : 64
572
+ cache_alignment : 64
573
+ address sizes : 40 bits physical, 48 bits virtual
574
+ power management:
575
+
576
+ processor : 23
577
+ vendor_id : GenuineIntel
578
+ cpu family : 6
579
+ model : 44
580
+ model name : Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
581
+ stepping : 2
582
+ cpu MHz : 3068.000
583
+ cache size : 12288 KB
584
+ physical id : 1
585
+ siblings : 12
586
+ core id : 10
587
+ cpu cores : 6
588
+ apicid : 53
589
+ initial apicid : 53
590
+ fpu : yes
591
+ fpu_exception : yes
592
+ cpuid level : 11
593
+ wp : yes
594
+ flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dts tpr_shadow vnmi flexpriority ept vpid
595
+ bogomips : 6133.17
596
+ clflush size : 64
597
+ cache_alignment : 64
598
+ address sizes : 40 bits physical, 48 bits virtual
599
+ power management:
600
+