mc admin node info
The mc admin node info command returns information about one node.
Syntax
The command has the following syntax:
mc admin node info [FLAGS] TARGET
mc admin node info --import FILEWith --import, the command reads a file saved with --export and does not need TARGET.
Flags
| Flag | Description |
|---|---|
--export | Export command as JSON. |
--import value | Import command as JSON. |
--host value | The host of the node. |
--metrics | Include node metrics in the output. |
Global flags
This command supports any of the global flags.
Examples
Get node info by host.
mc admin node info myminio --host 10.10.10.2:9000Get node info with metrics.
mc admin node info myminio --host 10.10.10.2:9000 --metricsDisplay node info from exported JSON file.
mc admin node info --import node-info.jsonBehavior
S3 compatibility
This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.