列出linux有幾核心?

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