From: KAMEZAWA Hiroyuki Date: Wed, 2 Feb 2011 14:30:06 +0000 (+0000) Subject: Add --stream flag. X-Git-Tag: 1.0.6~13 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=daf79631f3eff904ba89297148c4125ac7dfee39;p=virt-top.git Add --stream flag. Output is sent to stdout (similar to the top -b option). --- diff --git a/virt-top/.depend b/virt-top/.depend index 08bbd95..0f09d4f 100644 --- a/virt-top/.depend +++ b/virt-top/.depend @@ -2,8 +2,6 @@ virt_top_utils.cmi: virt_top.cmi: virt_top_gettext.cmo: virt_top_gettext.cmx: -virt_top_utils.cmo: virt_top_gettext.cmo virt_top_utils.cmi -virt_top_utils.cmx: virt_top_gettext.cmx virt_top_utils.cmi virt_top_main.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_main.cmx: virt_top_gettext.cmx virt_top.cmx virt_top_csv.cmo: virt_top_gettext.cmo virt_top.cmi @@ -12,6 +10,8 @@ virt_top_calendar1.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_calendar1.cmx: virt_top_gettext.cmx virt_top.cmx virt_top_xml.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_xml.cmx: virt_top_gettext.cmx virt_top.cmx +virt_top_utils.cmo: virt_top_gettext.cmo virt_top_utils.cmi +virt_top_utils.cmx: virt_top_gettext.cmx virt_top_utils.cmi virt_top_calendar2.cmo: virt_top_gettext.cmo virt_top.cmi virt_top_calendar2.cmx: virt_top_gettext.cmx virt_top.cmx virt_top_version.cmo: diff --git a/virt-top/virt-top.pod b/virt-top/virt-top.pod index 4d7df4e..9e1e228 100755 --- a/virt-top/virt-top.pod +++ b/virt-top/virt-top.pod @@ -153,6 +153,11 @@ Do not read any init file. Script mode. There will be no user interface. This is most useful when used together with the I<--csv> and I<-n> options. +=item B<--stream> + +Stream mode. All output is sent to stdout. This can be used from +shell scripts etc. There is no user interface. + =item B<--end-time time> The program will exit at the I