How to know from the Linux command line what kind of processor I have

central-processing-unitcommand-line-interface

How can I tell from the Linux command line what kind of processor my machine has? E.g. AMD Opteron or Intel Core 2 Duo.

uname -a just tells me it's x86_64 but that isn't enough information.

Best Answer

dmidecode

or preferably

cat /proc/cpuinfo

dmidecode will give you a lot more info than just what processor, thou /proc/cpuinfo provides more info about the processor itself