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