summaryrefslogtreecommitdiff
path: root/README
blob: 5eedabb115b1ec6ebcb3ecf03a2a0ec15b82a53a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
x86info v1.30            http://www.codemonkey.org.uk/projects/x86info
Dave Jones <davej@redhat.com>

Somewhere in the mists of time, there was a program by Phil Karn (KA9Q)
called cpuid, which identified CPU. It didn't get updated very often,
and quickly got out of date. It also didn't do much more than just
simple decoding.

x86info was written to succeed Phils work. Initially, it borrowed some bits
from his code, but the last remnants are now long gone. Additional functionality
has been added, such as support for SMP, and building on non-Linux platforms.



Features:
 - SMP support.
 - Recognition of all Intel/AMD/Centaur/Cyrix/VIA CPUs.
 - Parsing of model specific registers.
 - Approximation of current CPU MHz.

Requirements:
* On Linux, at least version 2.4 of glibc is required.

*  For usage of the MSR / SMP functions, x86info needs the
   x86 cpuid driver provided with the Linux kernel since 2.2.18 / 2.4.0,
   and the appropriate nodes in /dev

   To set up these devices, do the following..

	mkdir /dev/cpu
	for i in 0 1 2 3 4 5 6 7
	do
		mkdir /dev/cpu/$i ; cd /dev/cpu/$i
		mknod cpuid c 203 $i
		mknod msr c 202 $i
	done

*  If you are using the cpuid / msr drivers built as modules
   as opposed to built into the kernel, then you should ensure
   the following is in your /etc/modprobe.conf:

	alias char-major-202 msr
	alias char-major-203 cpuid

Info on the command line switches can be found in the man page.