gives the number of processor cores available on the computer system on which the Wolfram System is being run.
Examplesopen allclose all
Basic Examples (1)
You can change $ProcessorCount in a new session to simulate a multicore computer:
Possible Issues (2)
Changing $ProcessorCount takes effect only if it happens before using any parallel commands: