System Grab Bag

View all TLDR pages from Mac OS X (or from all pages)

sysctl

Access kernel state information. More information: https://ss64.com/osx/sysctl.html.
  • Show all available variables and their values:
    sysctl -a
  • Show Apple model identifier:
    sysctl -n hw.model
  • Show CPU model:
    sysctl -n machdep.cpu.brand_string
  • Show available CPU features (MMX, SSE, SSE2, SSE3, AES, etc):
    sysctl -n machdep.cpu.features
  • Set a changeable kernel state variable:
    sysctl -w {{section.tunable}}={{value}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.

Other Projects

This TLDR page is also found in other projects: