Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Using Shell Command

sysctl hw.physicalcpu hw.logicalcpu

Using Python

import os

os.cpu_count()
16
import multiprocessing as mp

mp.cpu_count()
16