nproc
Or
cat /proc/cpuinfo | egrep "^model name|^cpu MHz|^processor"
or
grep -ic 'model name' /proc/cpuinfo