Operating System cheatsheet

Get Number of CPUs

# linux
nproc --all

# max
sysctl -n hw.logicalcpu