sysctl [Variable names (and values if available)...]
Get or set kernel state
Arguments
Name | Description |
---|---|
Variable names (and values if available) |
Options
Name | Description |
---|---|
-A, -a | List all the currently available non-opaque values |
-b | Force the value of the variable(s) to be output in raw, binary format |
-d | Print the description of the variable instead of its value |
-e <variable...> | Separate the name and the value of the variable(s) with '=' |
-h | Format output for human, rather than machine, readability |
-i | Ignore unknown OIDs |
-N | Show only variable names, not their values |
-n | Show only variable values, not their names |
-o | Show opaque variables (which are normally suppressed) |
-q | Suppress some warnings generated by sysctl to standard error |
-X | Equivalent to -x -a (for compatibility) |
-x | As -o, but prints a hex dump of the entire value instead of just the first few bytes |