Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to get CPU information

📅 2014-May-29 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

The easiest way to get information about your CPU is:

$ cat /proc/cpuinfo

This lists out all the details of every CPU core detected by the Linux OS.

To just get the model of your CPU:

$ cat /proc/cpuinfo | grep "model name"

Tried with: Ubuntu 14.04