注意
本文档适用于 Ceph 的开发版本。
iostat
iostat 模块报告集群吞吐量和 IOPS 的指标。
启用
要确定 iostat 模块是否已启用,请运行以下命令
ceph mgr module ls
要启用 iostat 模块,请运行以下命令
ceph mgr module enable iostat
要执行该模块,请运行以下命令
ceph iostat
要更改统计信息打印的频率,请使用 -p 选项
ceph iostat -p <period in seconds>
例如,使用以下命令每隔 5 秒打印一次统计信息
ceph iostat -p 5
要停止该模块,请按 Ctrl-C。