RDMSR(1M) Maintenance Commands RDMSR(1M)

Read Model-Specific Register

rdmsr [0x<msrnr>]...

The rdmsr command can be used to read a value out of one or more x86 MSRs, as defined by the Intel and AMD CPU specifications. The integer MSR number should be given (typically in 0x-prefixed hexadecimal). It is the command-line equivalent of the rdmsr() instruction).

The read is done on the current CPU, which may change arbitrarily between MSR reads: to read from a particular CPU, pbind(1M) can be used to execute this utility.

The rdmsr utility exits 0 on success, or 1 if an error occurs, or at least one MSR could not be read.

Intel 64 and IA-32 Architectures Software Developer's Manual Volume 4: Model-Specific Registers
October 14, 2019 OmniOS