Skip to main content

mr admin

Server administration commands. The default subcommand is stats, which prints a full health and data overview. The settings subgroup lets you view and change runtime configuration overrides without restarting the server.

Run mr admin stats --help for the full stats flags, or mr admin settings --help for the settings subcommands.

Usage

mr admin

Examples

Show server stats (same as mr admin stats)

mr admin

Show help for all subcommands

mr admin --help

Flags

FlagTypeDefaultDescription
--data-onlyboolfalseShow data stats only
--server-onlyboolfalseShow server stats only

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Exit Codes

0 on success; 1 on any error

See Also