Move pages back into a "pages" folder
This commit is contained in:
24
pages/osx/sysctl.md
Normal file
24
pages/osx/sysctl.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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.feature`
|
||||
|
||||
- Set a changeable kernel state variable
|
||||
|
||||
`sysctl -w name=value`
|
||||
`sysctl -w kern.maxfiles=15000`
|
Reference in New Issue
Block a user