Specifications

Table Of Contents
--readmsr <--cpu=cpuNumber> <--reg=regOffset> := read cpu register
--writemsr <--cpu=cpu number> <--reg=reg offset> <--val=value> := Write cpu
register
--readlpc <--reg=reg> <--size=size> := read the specified register in lpc bus
--writelpc <--reg=reg> <--val=value> <--size=size> := write at the specified
register in lpc bus
cpuid — Displays information about the CPU, for example, the processor name and number,
codename, real-time measurement of each core’s internal frequency, memory frequency, and cache
levels.
x86info — Displays a range of information about the CPUs present in a x86 system.
readmsr — Uses the rdmsr utility to read the CPU’s specific MSR.
writemsr — Uses the wrmsr utility to write to the CPU’s specific MSR. Use this option carefully because
it can change the state of the CPU.
readlpc — Uses the DiagOS lpctool to read devices connected to the LPC bus of the CPU.
writelpc — Uses the DiagOS lpctool to write devices connected to the LPC bus of the CPU.
Output
root@dell-diag-os:~# ./cputool -h
usage: cpuid [options...]
Dump detailed information about the CPU(s) gathered from the CPUID instruction,
and also determine the exact model of CPU(s).
options:
-1, --one-cpu display information only for the current CPU
-f FILE, --file=FILE read raw hex information (-r output) from FILE instead
of from executions of the cpuid instruction
-h, -H, --help display this help information
-i, --inst use the CPUID instruction: The information it provides
is reliable. It is not necessary to be root.
(This option is the default.)
-k, --kernel use the CPUID kernel module: The information does not
seem to be reliable on all combinations of CPU type
and kernel version. Typically, it is necessary to be
root.
-r, --raw display raw hex information with no decoding
-v, --version display cpuid version
root@dell-diag-os:~# cputool --x86info
x86info v1.30. Dave Jones 2001-2011
Feedback to <davej@redhat.com>.
Found 4 identical CPUs
Extended Family: 0 Extended Model: 4 Family: 6 Model: 77 Stepping: 8
Type: 0 (Original OEM)
CPU Model (x86info's best guess): Unknown model.
Processor name string (BIOS programmed): Intel(R) Atom(TM) CPU C2538 @ 2.40GHz
Total processor threads: 4
This system has 1 dual-core processor with hyper-threading (2 threads per core)
running at an estimated 2.40GHz
root@dell-diag-os:~# ./cputool --readmsr --cpu=0 --reg=0xce
c0080001800
root@dell-diag-os:~# ./cputool --readlpc --reg=0x102
Size of read or write is set to be a byte
Dell DiagOS Tools 36