RAPICTL
Description
Client application used to control the Rest API daemon (rapid)
Command
rapictl [-h] [-v] [-B] [-o] [--dump-config] [--reload-config arg] [--stats] [--reset-stats]
Command Args Description
-h [ --help ] Display this message.
-B [ --background ] Execute in background (will not print the
results).
-v [ --verbose ] Enable client verbose mode.
-o [ --libxo ] arg Specify the output format, arg may be
"text|html|xml|json[,pretty]" (default is
"text,pretty").
-r [ --reload-config ] arg Make rapid reload its configuration. Exclusive
with other queries. Arg must be one of:
"None","Verbose","All"
--dump-config Dump rapid current configuration. Exclusive with
other queries.
--stats Displays various stats regarding requests rejected
by rapid, since last startup or for the last 24 hours.
Exclusive with other queries.
--reset-stats Reset the stats regarding the requests rejected by rapid.
Exclusive with other queries.
Results
Example
Dump configuration in json format: rapictl --dump-config -o json