あるフリーランスエンジニアの色んなメモ!! ITスキル・ライフハックとか

Linux:CPUのコア数を取得する

nproc

または

grep physical.id /proc/cpuinfo|sort -u|wc -l
comments powered by Disqus