cpuinfo2cpuid1
Usage
cpuinfo2cpuid
or
cpuinfo2cpuid -help
or
cpuinfo2cpuid {-vendor=<GenuineIntel | AuthenticAMD>
-family=<num>
-model=<num>
-stepping=<num>}
Overview
Expects /proc/cpuinfo data on stdin and converts it to cpuid-like HEX data structure suitable as the input for cpuid -f <file> utility. Alternatively, user can specify CPU vendor, family, model and stepping on the command line.
Options
-
-help -
Displays a brief help message.
-
-vendor -
CPU vendor. Can be either GenuineIntel or AuthenticAMD.
-
-family -
CPU family in decimal notation.
-
-model -
CPU model in decimal notation.
-
-stepping -
CPU stepping in decimal notation.
-
-help -
Displays a brief help message.
Limitations
Only Intel & AMD cpuinfo data are supported at the moment.
Examples
cpuinfo2cpuid < /proc/cpuinfo | cpuid -f - | grep '(synth)'
Specifying CPU vendor, family, model and stepping on command line
cpuinfo2cpuid.pl -vendor=GenuineIntel -family=6 -model=58 -stepping=9 | cpuid -f - | grep '(synth)'
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.