Home >Operation and Maintenance >Linux Operation and Maintenance >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"
2. Secondly, enter: cat /proc/cpuinfo in the linux command line.
#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!