Testei esses 3 métodos $ grep -c cpu[0-9] /proc/stat $ egrep "^processor" /proc/cpuinfo | wc -l $ grep "model name" /proc/cpuinfo | wc -l