Got this nice executable from GMP package that auto-generated during compilation. Only 39KB :-) but very useful if we just want to retrieve a processor class (instead of ID) from command line easily.
Supported x86 CPU family:
A class is differentiated specific CPU features unlike "family" that call pentium pro - pentium 3 as i686 which is a bit vague.
execute without argument and it will print your CPU class name: