From deb3e802de4e5b82ad80650d310acf2267372c4d Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Fri, 8 Jan 2016 12:04:08 +0100 Subject: [PATCH] virsh: Document the --timestamp option The event, net-event and qemu-monitor-event virsh commands all support the --timestamp option now, but such option was not referenced in the man page. --- tools/virsh.pod | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/tools/virsh.pod b/tools/virsh.pod index 9456db84e3..e830c597dd 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -1370,7 +1370,7 @@ The editor used can be supplied by the C<$VISUAL> or C<$EDITOR> environment variables, and defaults to C. =item B {[I] { I | I<--all> } [I<--loop>] -[I<--timeout> I] | I<--list>} +[I<--timeout> I] [I<--timestamp>] | I<--list>} Wait for a class of domain events to occur, and print appropriate details of events as they happen. The events can optionally be filtered by @@ -1386,6 +1386,9 @@ If I<--timeout> is specified, the command gives up waiting for events after I have elapsed. With I<--loop>, the command prints all events until a timeout or interrupt key. +When I<--timestamp> is used, a human-readable timestamp will be printed +before the event. + =item B I [[I<--live>] [I<--config>] | [I<--current>]] Display basic domain IOThreads information including the IOThread ID and @@ -2877,7 +2880,7 @@ The editor used can be supplied by the C<$VISUAL> or C<$EDITOR> environment variables, and defaults to C. =item B {[I] I [I<--loop>] [I<--timeout> -I] | I<--list>} +I] [I<--timestamp>] | I<--list>} Wait for a class of network events to occur, and print appropriate details of events as they happen. The events can optionally be filtered by @@ -2891,6 +2894,9 @@ If I<--timeout> is specified, the command gives up waiting for events after I have elapsed. With I<--loop>, the command prints all events until a timeout or interrupt key. +When I<--timestamp> is used, a human-readable timestamp will be printed +before the event. + =item B I Returns basic information about the I object. @@ -4074,6 +4080,7 @@ timeout. =item B [I] [I<--event> I] [I<--loop>] [I<--timeout> I] [I<--pretty>] [I<--regex>] [I<--no-case>] +[I<--timestamp>] Wait for arbitrary QEMU monitor events to occur, and print out the details of events as they happen. The events can optionally be filtered @@ -4090,6 +4097,10 @@ after I have elapsed. With I<--loop>, the command prints all events until a timeout or interrupt key. If I<--pretty> is specified, any JSON event details are pretty-printed for better legibility. +When I<--timestamp> is used, a human-readable timestamp will be printed +before the event, and the timing information provided by QEMU will be +omitted. + =item B I -- /path/to/binary [arg1, [arg2, ...]] Enter the namespace of I and execute the command C -- GitLab