How to check how many CPU cores I have in Windows & Linux?

Open a command prompt (Windows) or Terminal (Linux) and type:

  • Windows: WMIC CPU Get /Format:List
    Capture_Check_CPU_Cores
  • Linux: cat /proc/cpuinfo | grep processor | wc -l
    For more details on Linux: ls /sys/devices/system/cpu/