sysctltui
— TUI
utility to get or set system state
sysctltui |
[-d | -V ]
[-f ] [-e
label] [-l
label] [-i
indent] [-s
label] |
The sysctltui
utility provides a text user
interface (TUI) for retrieving and modifying system state at runtime. System
parameters are exposed as objects of a “Management Information
Base” (MIB). sysctltui
sysctltui allows users
to navigate the MIB, display the properties of a parameter, and retrieve or
modify its value.
sysctltui
requires the
sysctlinfo(4)
interface. To load the required kernel module at boot time, place the
following line in
loader.conf(5):
The following options are available:
-d
- Show parameter descriptions in the main window.
-e
label
- Set label as prefix for nodes with expandable
subtree, default “+”.
-f
- Display full parameter names in the main window. The full name of the
parameter currently in focus within the main window is no longer shown at
the bottom of the screen.
-h
- Print a help message and exit.
-i
indent
- Set indent as the visual depth of subtrees.
-l
label
- Set label as prefix for leaf nodes, default no
string.
-s
label
- Set label as prefix for nodes with expanded
subtrees, default “-”.
-V
- Display parameter values in the main window
-v
- Print version and quit.
The sysctltui
utility exits 0 on
success, and >0 if an error occurs.
Layout similar to
sysctl(8)
and
nsysctl(8):
% [n]sysctl -a % sysctltui -fV -i 0
% [n]sysctl -an % sysctltui -f -i 0
% [n]sysctl -ad % sysctltui -fd -i 0