Show Table of Contents
4.16. statistic
statistic资源类型是 Red Hat Virtualization 环境中资源统计的组合。资源统计数据会根据它们的标识符列出。
表 4.42. statistic 资源标识符
| 选项 | 描述 |
|---|---|
--brick-identifier | 查看具体块统计内容的资源标识符。 |
--cluster-identifier | 查看指定集群统计数据的资源标识符。 |
--datacenter-identifier | 查看指定数据中心统计数据的资源标识符。 |
--disk-identifier | 查看指定虚拟机磁盘统计数据的资源标识符。 |
--glustervolume-identifier | 查看指定 gluster 卷统计数据的资源标识符。 |
--host-identifier | 查看指定主机统计数据的资源标识符。 |
--job-identifier | 查看指定任务统计数据的资源标识符。 |
--nic-identifier | 查看指定 NIC 统计数据的资源标识符。 |
--numanode-identifier | 查看指定 NUMA 节点统计数据的资源标识符。 |
--step-identifier | 查看指定步骤统计数据的资源标识符。 |
--storagedomain-identifier | 查看指定存储域统计数据的资源标识符。 |
--vm-identifier | 查看指定虚拟机统计数据的资源标识符。 |
使用
list 命令及其相关资源标识符查看每个资源的统计数据集合。以下示例提供了指定主机的可用统计数据列表:
[RHEVM shell (connected)]# list statistics --host-identifier Host_name|id
所提供统计数据中的
name 或者 id 可与 show 命令及资源标识符一同使用,以便查看所指定统计数据中的进一步信息。以下示例显示该主机指定统计数据中的详细资料:
[RHEVM shell (connected)]# show statistic statistic_name|id --host-identifier Host name|id

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.