mc admin pool top

The mc admin pool top command lists the server pools of a deployment, with an optional filter.

Syntax

The command has the following syntax:

mc admin pool top [FLAGS] TARGET

Flags

FlagDescription
--exportExport command as JSON.
--import valueImport command as JSON.
--filter valueFilter commands based on available filters.
--count valueLimit the number of returned results (default: 0).
--start valueStarting index for listing (default: 0).
--sort valueAllows for sorting on field names. Only fields of type (int, string and float) can be sorted.
--sort-reversedReverses the sort order.

Global flags

This command supports any of the global flags.

Examples

Get pool list.

mc admin pool top myaistor

Export pool list.

mc admin pool top myaistor --export

Get pool list with a filter.

mc admin pool top myaistor --filter "PoolIndex = 1"

Get four pools, starting at item 2.

mc admin pool top myaistor --start 2 --count 4

Import pool list and apply a filter.

mc admin pool top myaistor --import pools.json --filter "PoolIndex = 1"

Apply sorting.

mc admin pool top myaistor --sort "PoolIndex" --sort-reversed

Behavior

S3 compatibility

This command uses a MinIO AIStor administrative API and does not work against other S3-compatible services.

On this page