Home  >  Article  >  Operation and Maintenance  >  How to check the number of CPU cores in Linux

How to check the number of CPU cores in Linux

藏色散人
藏色散人Original
2020-03-02 10:04:4612211browse

How to check the number of CPU cores in Linux

How to check the number of cpu cores in Linux?

1. Connect to the corresponding Linux host and enter the Linux command line state waiting for input of shell instructions.

Recommended "Linux Tutorial"

How to check the number of CPU cores in Linux

2. Secondly, enter: cat /proc/cpuinfo in the linux command line.

How to check the number of CPU cores in Linux

#3. Finally, press the Enter key to execute the shell command. At this time, you will see the number of CPU cores of the Linux host.

The above is the detailed content of How to check the number of CPU cores in Linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn