processor
The <processor> inspector is used to identify the number and properties of processors in the system. Many operating systems support multiple CPUs and processors. You can inspect any one of them by their ordinal number. On Linux, most of these inspector properties look into the /proc/cpuinfo file to find the requested information.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Creation
Properties
Returns True
if the specified processor is afflicted by the coma bug. The coma bug afflicts certain Cyrix CPUs, causing them to occasionally lock up. The affected CPUs include the Cyrix/IBM 6x86, 6x86L, and 6x86MX.
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns True
if the specified processor is afflicted by the f00f bug. This bug is named after the first two of a four-byte assembly language sequence that can freeze up x86 Pentium processors.
Version | Platforms |
---|---|
8.0.584.0 | Red Hat, SUSE |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the feature flags from the CPUID instruction. The feature mask contains bits that identify extra features the processor may provide such as MMX support or if the Processor ID is enabled on the processor.
Version | Platforms |
---|---|
8.0.584.0 | Windows |
8.2.1078.0 | Mac |
9.0.586.0 | Debian, Red Hat, SUSE, Ubuntu |
9.5.13.130 | Raspbian |
PPC64 processors only. Returns a string representing what mode the specified processor is running in. If you specifically want to know whether the processor is running in "architected" mode or in "raw" mode, check the "architected" processor property also.
- Q: run mode of main processor
- A: power8
Version | Platforms |
---|---|
9.1.1141.0 | Red Hat |
9.2.0.363 | SUSE |
9.5.0.311 | Ubuntu |
Returns the speed of the processor in Hertz. As of macOS Big Sur, this property is not available on computers using the Apple M1 chip.
For example, running the inspector on a computer with an Intel Core i7-4770HQ CPU (4 cores, 8 threads) returns:
- Q: speeds of processors
- A: 2200000000 hertz
- A: 2200000000 hertz
- A: 2200000000 hertz
- A: 2200000000 hertz
- A: 2200000000 hertz
- A: 2200000000 hertz
- A: 2200000000 hertz
- A: 2200000000 hertz
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |