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
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:9000
Get node info with metrics.
mc admin node info myminio --host 10.10.10.2:9000 --metrics
Display node info from exported JSON file.
mc admin node info --import node-info.json
Behavior
S3 compatibility
This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.