DOKK / manpages / debian 12 / msr-tools / rdmsr.1.en
rdmsr(1) General Commands Manual rdmsr(1)

rdmsr - tool for reading CPU machine specific registers (MSR)

rdmsr [options] regno

rdmsr is a tool used for reading a CPU's machine specific registers (MSR).
Note: if you're running a Debian kernel, be sure that the msr.ko kernel module is loaded. 'modprobe msr' should do the trick. Otherwise, you'll get an error about rdmsr not being able to open files in /dev/cpu/...

Print a list of available options
Print current version
Display output in hexadecimal (lower case)
Display output in hexadecimal (upper case)
Display output in signed decimal
Display output in unsigned decimal
Display output in octal
Format output as a C language constant
Output leading zeroes
Output leading zeroes
Output raw binary
All processors
Select processor number (default: 0)
Output bits [h:l] only

wrmsr(1)

rdmsr was written by Transmeta Corporation

This man page was contributed by Andres Salomon <dilinger@debian.org> for the Debian GNU/Linux system (but may be used by others).

Mar 2008