Set license using %license
[platform/upstream/x86info.git] / README
1 x86info v1.30            http://www.codemonkey.org.uk/projects/x86info
2 Dave Jones <davej@redhat.com>
3
4 Somewhere in the mists of time, there was a program by Phil Karn (KA9Q)
5 called cpuid, which identified CPU. It didn't get updated very often,
6 and quickly got out of date. It also didn't do much more than just
7 simple decoding.
8
9 x86info was written to succeed Phils work. Initially, it borrowed some bits
10 from his code, but the last remnants are now long gone. Additional functionality
11 has been added, such as support for SMP, and building on non-Linux platforms.
12
13
14
15 Features:
16  - SMP support.
17  - Recognition of all Intel/AMD/Centaur/Cyrix/VIA CPUs.
18  - Parsing of model specific registers.
19  - Approximation of current CPU MHz.
20
21 Requirements:
22 * On Linux, at least version 2.4 of glibc is required.
23
24 *  For usage of the MSR / SMP functions, x86info needs the
25    x86 cpuid driver provided with the Linux kernel since 2.2.18 / 2.4.0,
26    and the appropriate nodes in /dev
27
28    To set up these devices, do the following..
29
30         mkdir /dev/cpu
31         for i in 0 1 2 3 4 5 6 7
32         do
33                 mkdir /dev/cpu/$i ; cd /dev/cpu/$i
34                 mknod cpuid c 203 $i
35                 mknod msr c 202 $i
36         done
37
38 *  If you are using the cpuid / msr drivers built as modules
39    as opposed to built into the kernel, then you should ensure
40    the following is in your /etc/modprobe.conf:
41
42         alias char-major-202 msr
43         alias char-major-203 cpuid
44
45 Info on the command line switches can be found in the man page.