How does grep -c '^processor' /proc/cpuinfo determine the CPU count?
grep -c '^processor' /proc/cpuinfo
It counts running processes whose names contain processor
It guarantees a count of physical CPU packages only
It counts lines beginning with processor, one for each reported logical CPU
processor
It adds every CPU clock frequency