virsh命令行domjobinfo命令详解

domjobinfo
Syntax:

domjobinfo domain [--completed [--keep-completed]] [--anystats] [--rawstats]
Returns information about jobs running on a domain. --completed tells virsh to return information about a recently(最近) finished job.
Statistics(统计) of a completed job are automatically destroyed once read (unless --keep-completed is used) or when libvirtd is restarted.
一旦读取(除非使用——keep-completed)或重新启动libvirtd,已完成作业的统计信息将自动销毁。
Normally only statistics for running and successful completed jobs are printed. --anystats can be used to also display statistics for failed jobs.
通常,只打印运行和成功完成的作业的统计信息。--anystats也可以用来显示失败作业的统计数据。
In case --rawstats is used, all fields are printed as received from the server without any attempts to interpret the data.
-rawstats中,所有字段都按照从服务器接收到的数据打印,而不需要尝试解释数据
The "Job type:" field is special, since it's reported by the API and not part of stats.
“Job type:”字段很特殊,因为它是由API报告的,而不是stats的一部分。
Note that time information returned for completed migrations may be completely irrelevant unless both source and destination hosts have synchronized time
(i.e., NTP daemon is running on both of them).
注意,为完成迁移返回的时间信息可能完全不相关,除非源主机和目标主机都有同步的时间

posted @ 2020-12-28 18:03  一切都是当下  阅读(762)  评论(0编辑  收藏  举报