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 FILE

With --import, the command reads a file saved with --export and does not need TARGET.

Flags

FlagDescription
--exportExport command as JSON.
--import valueImport command as JSON.
--host valueThe host of the node.
--metricsInclude 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.

On this page