Reference Guide

cputool
The cputool displays the CPU information, reads and writes of the MSR and the LPC bus.
Tests
There are no defined tests with the cputool.
CLI options
root@dellemc-diag-os:~# cputool
DellEmc Diag - Cpu Tool
version 1.1, x.xx.x.x-x
build, 2017/05/23,
Syntax: cputool <option>
Show the help-text:=
cputool --h (or)
cputool -h
Display the CPU info using CPU-ID:
cputool --cpuid[=--option] (or)
cputool -i [option]
Display the CPU info using x86info:=
cputool --x86info[=--option] (or)
cputool -x [option]
Read CPU register:=
cputool --readmsr --cpu=<cpuNumber> --reg=<regOffset> (or)
cputool -r -n <cpuNumber> -R <regOffset>
Write CPU register:=
cputool --writemsr --cpu=<cpuNumber> --reg=<regOffset> --val=<value> (or)
cputool -w <cpuNumber> -R <regOffset> -V <value>
Execute repeatedly command by count:=
cputool --iteration=max/<count> [option1] [option2]... (or)
cputool -I max/<count> [option1] [option2]...
Read the specified regiser in LPC bus:=
cputool --readlpc --reg=<reg> --size=<size> (or)
cputool -d -R <reg> -Z <size>
Write the specified regiser in LPC bus:=
cputool --writelpc --reg=<reg> --val=<value> --size=<size> (or)
cputool -W -R <reg> -V <value> -Z <size>
Usage:=
-h, --h Show the help text
-i, --cpuid CPU-Id
-x, --x86info x86 info
-r, --readmsr Read operation
-w, --writemsr Write operation
-n, --cpu= CPU
-R, --reg= Register
-V, --val= Value to be set
-Z, --size= Size
-I, --iteration= Iteration command execution
-d, --readlpc Read from LPC bus
-W, --writelpc Write to LPC bus
Output
root@dell-diag-os:/# cputool --h
Dell Diag - Cpu Tool
version 1.1, x.xx.x.x
build, 2016/08/12,
Syntax: cputool <option>
Show the help-text:=
Dell EMC DIAG OS tools
41