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 themsr.kokernel module loaded first.modprobe msrshould do the trick ๐ซถ If you forget, you'll get an error sayingrdmsrcan'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 is0๐ง--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 ๐ ๐ฆ
๐ฆ where this page comes from
- debian bookworm: msr-tools 1.3-5 ยท GPL-2.0-only
- debian trixie: msr-tools 1.3+git20220805.7d78c80-1 ยท GPL-2.0-only
- ubuntu jammy: msr-tools 1.3-4 ยท GPL-2.0-only
- ubuntu jammy: msr-tools 1.3-4ubuntu0.1 ยท GPL-2.0-only
- ubuntu noble: msr-tools 1.3-5build1 ยท GPL-2.0-only
- ubuntu noble: msr-tools 1.3-5ubuntu0.1 ยท GPL-2.0-only
- ubuntu questing: msr-tools 1.3+git20220805.7d78c80-1 ยท GPL-2.0-only
- ubuntu resolute: msr-tools 1.3+git20220805.7d78c80-1build1 ยท GPL-2.0-only
- ubuntu resolute: msr-tools 1.3+git20220805.7d78c80-1ubuntu0.1 ยท GPL-2.0-only
- ubuntu stonking: msr-tools 1.3+git20220805.7d78c80-1ubuntu1 ยท GPL-2.0-only
- Copyright (C) 2008 Andres Salomon
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms