rdmsr(1)

๐Ÿ’– rdmsr(1) ๐Ÿ’–

rdmsr is a General Commands Manual page, and it's giving main character energy ๐Ÿ’…


โœจ NAME โœจ

okay so rdmsr is the tool for reading CPU machine specific registers (MSR) ๐Ÿ”ฅ


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

rdmsr [options] regno

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

bestie, rdmsr is the tool you use to read a CPU's machine specific registers (MSR) ๐Ÿ’œ

๐Ÿ˜ญ Important, don't skip this: if you're running a Debian kernel, you need the msr.ko kernel module loaded first. modprobe msr should do the trick ๐Ÿซถ If you forget, you'll get an error saying rdmsr can't open files in /dev/cpu/... and it will be so annoying ๐Ÿ’€

๐ŸŒธ OPTIONS ๐ŸŒธ

  • --help, -h โ€” pull up a list of the options that are available ๐Ÿ“œ
  • --version, -V โ€” shows you the current version ๐Ÿ”ข
  • --hexadecimal, -x โ€” output in hexadecimal, lowercase ๐Ÿ“
  • --capital-hex, -X โ€” output in hexadecimal, UPPERCASE, it's giving loud ๐Ÿ“ข
  • --decimal, -d โ€” output in signed decimal ๐Ÿงฎ
  • --unsigned, -u โ€” output in unsigned decimal ๐Ÿ’ซ
  • --octal, -o โ€” output in octal ๐ŸŒˆ
  • --c-language, -c โ€” format the output as a C language constant โœจ
  • --zero-pad, -0 โ€” output leading zeroes ๐Ÿงธ
  • --zero-pad, -0 โ€” output leading zeroes (yep, this one is listed twice in the original page, iykyk ๐Ÿ™ˆ)
  • --raw, -r โ€” output raw binary ๐Ÿค–
  • --all, -a โ€” hit all the processors ๐Ÿ‘‘
  • --processor <#>, -p โ€” pick a processor number, default is 0 ๐Ÿงš
  • --bitfield h:l, -f โ€” output only bits [h:l] ๐ŸŽฏ

๐Ÿ’œ SEE ALSO ๐Ÿ’œ

wrmsr(1) is your bestie for writing MSRs, so go check that one out too โœจ


๐Ÿซถ AUTHOR ๐Ÿซถ

rdmsr was written by Transmeta Corporation ๐Ÿข

This man page was contributed by Andres Salomon <dilinger@debian.org> for the Debian GNU/Linux system, but anyone else is totally allowed to use it too ๐ŸŒธ


Mar 2008 ยท rdmsr(1) ยท that's a wrap, bestie ๐Ÿ’…๐Ÿฆ‹