Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
74cf34bc
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
74cf34bc
编写于
9月 15, 2014
作者:
P
Peter Krempa
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
man: virsh: Add docs for supported stats groups
Document the fields returned.
上级
a6500ee4
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
46 addition
and
0 deletion
+46
-0
tools/virsh.pod
tools/virsh.pod
+46
-0
未找到文件。
tools/virsh.pod
浏览文件 @
74cf34bc
...
...
@@ -835,6 +835,52 @@ default all supported statistics groups are returned. Supported
statistics groups flags are: I<--state>, I<--cpu-total>, I<--balloon>,
I<--vcpu>, I<--interface>, I<--block>.
When selecting the I<--state> group the following fields are returned:
"state.state" - state of the VM, returned as number from virDomainState enum,
"state.reason" - reason for entering given state, returned as int from,
virDomain*Reason enum corresponding to given state.
I<--cpu-total> returns:
"cpu.time" - total cpu time spent for this domain in nanoseconds,
"cpu.user" - user cpu time spent in nanoseconds,
"cpu.system" - system cpu time spent in nanoseconds
I<--balloon> returns:
"balloon.current" - the memory in kiB currently used,
"balloon.maximum" - the maximum memory in kiB allowed
I<--vcpu> returns:
"vcpu.current" - current number of online virtual CPUs,
"vcpu.maximum" - maximum number of online virtual CPUs,
"vcpu.<num>.state" - state of the virtual CPU <num>, as number
from virVcpuState enum,
"vcpu.<num>.time" - virtual cpu time spent by virtual CPU <num>
I<--interface> returns:
"net.count" - number of network interfaces on this domain,
"net.<num>.name" - name of the interface <num>,
"net.<num>.rx.bytes" - number of bytes received,
"net.<num>.rx.pkts" - number of packets received,
"net.<num>.rx.errs" - number of receive errors,
"net.<num>.rx.drop" - number of receive packets dropped,
"net.<num>.tx.bytes" - number of bytes transmitted,
"net.<num>.tx.pkts" - number of packets transmitted,
"net.<num>.tx.errs" - number of transmission errors,
"net.<num>.tx.drop" - number of transmit packets dropped,
I<block> returns:
"block.count" - number of block devices on this domain,
"block.<num>.name" - name of the target of the block device <num>,
"block.<num>.rd.reqs" - number of read requests,
"block.<num>.rd.bytes" - number of read bytes,
"block.<num>.rd.times" - total time (ns) spent on reads,
"block.<num>.wr.reqs" - number of write requests,
"block.<num>.wr.bytes" - number of written bytes,
"block.<num>.wr.times" - total time (ns) spent on writes,
"block.<num>.fl.reqs" - total flush requests,
"block.<num>.fl.times" - total time (ns) spent on cache flushing,
"block.<num>.errors" - Xen only: the 'oo_req' value,
Selecting a specific statistics groups doesn't guarantee that the
daemon supports the selected group of stats. Flag I<--enforce>
forces the command to fail if the daemon doesn't support the
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录