CPUINFO2CPUID(1)
π CPUINFO2CPUID(1) π
okay bestie, welcome to cpuinfo2cpuid β it's a lil manual page (section 1, the "user commands" shelf, iykyk) and honestly it's giving humble-but-iconic. let's get into it π¦
β¨ NAME β¨
cpuinfo2cpuid β literally the whole name, that's it, that's the girl πΈ
β¨ SYNOPSIS β¨
cpuinfo2cpuid
or
cpuinfo2cpuid -help
or
cpuinfo2cpuid -vendor=<GenuineIntel|AuthenticAMD> -family=<num>
-model=<num> -stepping=<num>
like, three whole moods. pick your fighter π
β¨ DESCRIPTION β¨
so here's the vibe: cpuinfo2cpuid is sitting there expecting /proc/cpuinfo data to arrive on stdin, and it converts that into a cpuid-like HEX data structure. why? because that structure is suitable as the input for the cpuid -f <file> utility. it's a glow-up pipeline, no cap β¨
or β plot twist β you can just specify the CPU vendor, family, model and stepping on the command line instead. your call, main character π
β¨ OPTIONS β¨
-helpβ shows a brief help message. short, sweet, helpful π-vendorβ the CPU vendor. can be eitherGenuineIntelorAuthenticAMD, no in-between, we don't do ambiguous here π-familyβ CPU family, written in decimal notation.-modelβ CPU model, also in decimal notation.-steppingβ CPU stepping, yep, decimal notation again.-helpβ shows a brief help message. yes bestie, it's listed twice in the original and I'm not about to erase her. she said it twice, it stays twice ππ
β¨ LIMITATIONS β¨
ngl, right now only Intel & AMD cpuinfo data are supported. that's the whole limitation, at the moment. everything else is just... not invited to the party yet π«Ά
β¨ EXAMPLES β¨
the classic pipe moment:
cpuinfo2cpuid < /proc/cpuinfo | cpuid -f - | grep '(synth)'
and then β Specifying CPU vendor, family, model and stepping on command line:
cpuinfo2cpuid.pl -vendor=GenuineIntel -family=6 -model=58 -stepping=9 |
cpuid -f - | grep '(synth)'
(that second one says cpuinfo2cpuid.pl, exactly like that, don't come for me, I'm just the messenger π)
β¨ AUTHOR β¨
Todd Allen <cpuid@etallen.com>, Jirka Hladky <jhladky@gmail.com> β absolute legends, we stan π
okay and for the cute sign-off: this page is rockin' the 20250316 build stamp with a 2025-03-29 date, and it lives in the CPUINFO2CPUID(1) manual β so yeah, that's the whole page. slay, read it, run it, hydrate π
β¨π¦
π¦ where this page comes from
- debian trixie: cpuid 20250316-1 Β· GPL-2.0-or-later
- ubuntu questing: cpuid 20250316-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms