CPUID(8) CPUID(8)
NAME
cpuid, icanhasvmx - print processor information
SYNOPSIS
aux/cpuid [ -ar ]
aux/icanhasvmx [ -r ]
DESCRIPTION
Intel and compatible processors since the Pentiumâ„¢ (or late
486) provide the CPUID instruction that returns information
about the chip. The cpuid program enumerates and prints this
information in a simple textual format. The output consists
of multiple lines prefixed with a keyword describing the
information that follows.
With the -r option, the format changes to raw hexadecimal
output with the keyword being the AX input register to the
CPUID instruction followed by 4 colums with the output reg-
isters AX, BX, CX and DX.
The -a option prints enumerated items in raw format if no
keyword is known instead of omitting it (default).
The keywords supported so far are:
vendor
Processor vendor string
procmodel, extmodel
Processor model, hexadecimal model / family id
features, extfeatures
Feature bits, a variable list of feature acronyms
procname
Processor name string
physbits, virtbits, guestbits
Address lines, decimal in bits
Icanhasvmx queries the virtual machine extension (VMX) capa-
bilities. If -r is specified, it prints the results in raw
hexadecimal; otherwise it produces a human-readable format.
In any case it prints a summary on fd 2.
EXAMPLE
term% aux/cpuid
vendor GenuineIntel
procmodel 000006b4 / 00000006
Page 1 Plan 9 (printed 10/30/25)
CPUID(8) CPUID(8)
features fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36
features mmx fxsr sse
extmodel 00000000 / 00000000
procname Mobile Intel(R) Pentium(R) III CPU - M 1133MHz
SOURCE
/sys/src/cmd/aux/cpuid.c
Page 2 Plan 9 (printed 10/30/25)