All apps/sysctl

sysctl

sysctl

Get or set kernel state.

Runs as sysctl|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 8 fields

Read kernel variables or list all of them. Setting values and -e/-b/-x output modes are not in this form.

Opens the form; the finished command lands at your prompt, unrun
otty gui sysctl
Read kernel stateExample values, fixed in this page — nothing here reaches a terminal
Basic
Variable names*
string
Values only
-n
Advanced
Print description
-d
Human-readable
-h
TasksEach one presets the form for one job
Read variables
variablesvalues_onlydescribehuman
List all
allnames_onlyvalues_onlydescribe
ParametersOnly these flags are editable in the form
List all variables
boolean
-a
Names only
boolean
-N
Values only
boolean
-n
Print description
boolean
-d
Human-readable
boolean
-h
Ignore unknown OIDs
boolean
-i
Suppress warnings
boolean
-q
Variable names
For example hw.ncpu or kern.osversion.
string · positional 0 · repeatable
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed sysctl against its version. A form that does not match your version is not offered.