How do I verify how many CPU’s I have in the Terminal

Posted by acidjunk on April 11, 2010

When working with video encoders or single core / multi core licenses it’s handy to now how much cores a CPU has, with only a terminal available it’s not that hard :-)

Linux

cat /proc/cpuinfo

**

OS X**

sysctl -n hw.ncpu