How do I check CPU and cores in Linux?

How do I check CPU and cores in Linux?
Answer
You can use one of the following command to find the number of physical CPU cores including all cores on Linux:
  1. lscpu command.
  2. cat /proc/cpuinfo.
  3. top or htop command.
  4. nproc command.
  5. hwinfo command.
  6. dmidecode -t processor command.
  7. getconf _NPROCESSORS_ONLN command.
11 нояб. 2020 г.
 

Tìm kiếm

Back
Top