]> git.lizzy.rs Git - plan9front.git/blob - sys/man/8/cpuid
acid: watchpoint support
[plan9front.git] / sys / man / 8 / cpuid
1 .TH CPUID 8
2 .SH NAME
3 cpuid \- print processor information
4 .SH SYNOPSIS
5 .B aux/cpuid
6 [
7 .B -ar
8 ]
9 .SH DESCRIPTION
10 Intel and compatible processors since the
11 .SM Pentiumâ„¢
12 (or late 486) provide the
13 .SM CPUID
14 instruction that returns information about the chip. The
15 .I cpuid
16 program enumerates and prints this information in a simple
17 textual format. The output consists of multiple lines prefixed
18 with a keyword describing the information that follows.
19 .PP
20 With the
21 .B -r
22 option, the format changes to raw hexadecimal output with the
23 keyword being the
24 .BR AX
25 input register to the
26 .SM CPUID
27 instruction followed by 4 colums with the output registers
28 .BR AX ,
29 .BR BX ,
30 .BR CX
31 and
32 .BR DX .
33 .PP
34 The
35 .B -a
36 option prints enumerated items in raw format if no
37 keyword is known instead of omitting it (default).
38 .PP
39 The keywords supported so far are:
40 .TP
41 .B vendor
42 Processor vendor string
43 .TP
44 .B procmodel, extmodel
45 Processor model, hexadecimal model / family id
46 .TP
47 .B features, extfeatures
48 Feature bits, a variable list of feature acronyms
49 .TP
50 .B procname
51 Processor name string
52 .TP
53 .B physbits, virtbits, guestbits
54 Address lines, decimal in bits
55 .SH EXAMPLE
56 .EX
57 term% aux/cpuid
58 vendor GenuineIntel
59 procmodel 000006b4 / 00000006
60 features fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 
61 features mmx fxsr sse 
62 extmodel 00000000 / 00000000
63 procname Mobile Intel(R) Pentium(R) III CPU - M  1133MHz
64 .EE
65 .SH SOURCE
66 .B /sys/src/cmd/aux/cpuid.c