列出linux有幾核心?

[root@cluster1 ~]$  cat /proc/cpuinfo | grep processor | tail -n 1 | awk ‘{print $3 + 1}’

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.