1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 21:42:08 +02:00
tldr/pages/osx/sysctl.md
NashMiao 7c4aab2566
sysctl: fix typo (#4184)
* Fix wrong option

* Update sysctl.md
2020-07-16 20:44:50 +02:00

23 lines
404 B
Markdown

# sysctl
> Access kernel state information.
- 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}}`