if dmesg | grep -q ^Processors:; then dmesg | grep ^Processors: | cut -d ' ' -f 2 >/var/numcpus else echo 1 >/var/numcpus fi