sysctl

访问内核状态信息。 更多信息:https://keith.github.io/xcode-man-pages/sysctl.8.html.

sysctl -a

sysctl -n hw.model

sysctl -n machdep.cpu.brand_string

sysctl -n machdep.cpu.features

sysctl -w {{部分。可修改的变量}}={{值}}