1. 物理CPU的個數: 2. 每個物理CPU的核心數量: 3. 邏輯CPU個數: ...
1. 物理CPU的個數:
cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
2. 每個物理CPU的核心數量:
cat /proc/cpuinfo | grep "cpu cores" | uniq
3. 邏輯CPU個數:
cat /proc/cpuinfo | grep "processor" | wc -l
1. 物理CPU的個數: 2. 每個物理CPU的核心數量: 3. 邏輯CPU個數: ...
cat /proc/cpuinfo | grep "physical id" | sort | uniq | wc -l
cat /proc/cpuinfo | grep "cpu cores" | uniq
cat /proc/cpuinfo | grep "processor" | wc -l