| 1 |
.\" |
| 2 |
.\" rdmsr(1) |
| 3 |
.\" |
| 4 |
.\" Copyright (C) 2008 Andres Salomon |
| 5 |
.TH rdmsr 1 "Mar 2008" |
| 6 |
.SH NAME |
| 7 |
rdmsr \- tool for reading CPU machine specific registers (MSR) |
| 8 |
.SH SYNOPSIS |
| 9 |
.B "rdmsr [options] regno" |
| 10 |
.SH DESCRIPTION |
| 11 |
.B rdmsr |
| 12 |
is a tool used for reading a CPU's machine specific registers (MSR). |
| 13 |
.br |
| 14 |
Note: if you're running a Debian kernel, be sure that the msr.ko kernel |
| 15 |
module is loaded. 'modprobe msr' should do the trick. Otherwise, you'll |
| 16 |
get an error about |
| 17 |
.B rdmsr |
| 18 |
not being able to open files in /dev/cpu/... |
| 19 |
.SH OPTIONS |
| 20 |
.TP |
| 21 |
.B --help, -h |
| 22 |
Print a list of available options |
| 23 |
.TP |
| 24 |
.B --version, -V |
| 25 |
Print current version |
| 26 |
.TP |
| 27 |
.B --hexadecimal, -x |
| 28 |
Display output in hexadecimal (lower case) |
| 29 |
.TP |
| 30 |
.B --capital-hex, -X |
| 31 |
Display output in hexadecimal (upper case) |
| 32 |
.TP |
| 33 |
.B --decimal, -d |
| 34 |
Display output in signed decimal |
| 35 |
.TP |
| 36 |
.B --unsigned, -u |
| 37 |
Display output in unsigned decimal |
| 38 |
.TP |
| 39 |
.B --octal, -o |
| 40 |
Display output in octal |
| 41 |
.TP |
| 42 |
.B --c-language, -c |
| 43 |
Format output as a C language constant |
| 44 |
.TP |
| 45 |
.B --zero-pad, -0 |
| 46 |
Output leading zeroes |
| 47 |
.TP |
| 48 |
.B --zero-pad, -0 |
| 49 |
Output leading zeroes |
| 50 |
.TP |
| 51 |
.B --raw, -r |
| 52 |
Output raw binary |
| 53 |
.TP |
| 54 |
.B --all, -a |
| 55 |
All processors |
| 56 |
.TP |
| 57 |
.B --processor <#>, -p |
| 58 |
Select processor number (default: 0) |
| 59 |
.TP |
| 60 |
.B --bitfield h:l, -f |
| 61 |
Output bits [h:l] only |
| 62 |
.TP |
| 63 |
.BR |
| 64 |
.SH SEE ALSO |
| 65 |
.BR wrmsr(1) |
| 66 |
.SH AUTHOR |
| 67 |
.br |
| 68 |
.B rdmsr |
| 69 |
was written by Transmeta Corporation |
| 70 |
|
| 71 |
This man page was contributed by Andres Salomon <[email protected]> |
| 72 |
for the Debian GNU/Linux system (but may be used by others). |
| 73 |
|