该命令以每秒比特数或字节数显示 MinIO 服务器上存储桶的带宽信息。 Ki,Bi,Mi,Gi 代表 IEC 单位。语法如下:
C:\>mc admin bucket remote bandwidth -h NAME: mc admin bucket remote bandwidth - Show bandwidth info for buckets on the MinIO server in bits or bytes per second. Ki,Bi,Mi,Gi represent IEC units. USAGE: mc admin bucket remote bandwidth FLAGS TARGET FLAGS: --config-dir value, -C value path to configuration folder (default: "C:\\Users\\Administrator\\mc") --quiet, -q disable progress bar display --no-color disable color theme --json enable JSON lines formatted output --debug enable debug output --insecure disable SSL certificate verification --unit value [b|bi|B|Bi] Display bandwidth in bits (IEC [bi] or SI [b]) or bytes (IEC [Bi] or SI [B]) (default: "b") --help, -h show help
(1)显示 MinIO 服务器设置中所有存储桶的带宽使用情况
C:\> mc admin bucket remote bandwidth play/
(2)在 MinIO 服务器设置中显示存储桶 “source-bucket” 的带宽使用情况
C:\> mc admin bucket remote bandwidth play/source-bucket