How many CPU threads do I have Ubuntu?

Pham Quỳnh

New member
How many CPU threads do I have Ubuntu?
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.
 

Tìm kiếm

Back
Top