mc support top rpc
SUBNET Registration Required
The mc support commands are designed for MinIO deployments registered with MinIO SUBNET to ensure optimal outcome of diagnostics and performance testing. Deployments not registered with SUBNET cannot use the mc support commands.
Syntax
The mc support top rpc command displays metrics for remote procedure calls (RPC).
The following command displays the current remote procedure call metrics for the alias myminio deployment.
The output returns information such as the server, number of connections, length of ping, time since last ping (pong), reconnections, string in, string out, messages in, and messages out.
The output resembles
The command has the following syntax:
- Brackets
[]indicate optional parameters. - Parameters sharing a line are mutually dependent.
- Parameters separated using the pipe
|operator are mutually exclusive.
Copy the example to a text editor and modify as-needed before running the command in the terminal/shell.
Parameters
TARGET
mc-cmd
Required
The full path to the alias or prefix where the command should run.
--airgap
mc-cmd
Optional
Use in environments without network access to SUBNET.
--in
mc-cmd
Optional
Replay a previously saved JSON file. Specify the path to the JSON file to replay, such as one generated by a previous run of this command.
--interval
mc-cmd
Optional
The interval in seconds between metric requests.
By default, the command requests metrics every second.
-n
mc-cmd
Optional
The number of requests to run before existing. Use 0 for endless.
If not specified, the command does not automatically exit.
--nodes
mc-cmd
Optional
Comma-separated list of the node or nodes from which to collect metrics.
Global Flags
This command supports any of the global flags.