提交 deb3e802 编写于 作者: A Andrea Bolognani

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.
上级 dd4e9351
...@@ -1370,7 +1370,7 @@ The editor used can be supplied by the C<$VISUAL> or C<$EDITOR> environment ...@@ -1370,7 +1370,7 @@ The editor used can be supplied by the C<$VISUAL> or C<$EDITOR> environment
variables, and defaults to C<vi>. variables, and defaults to C<vi>.
=item B<event> {[I<domain>] { I<event> | I<--all> } [I<--loop>] =item B<event> {[I<domain>] { I<event> | I<--all> } [I<--loop>]
[I<--timeout> I<seconds>] | I<--list>} [I<--timeout> I<seconds>] [I<--timestamp>] | I<--list>}
Wait for a class of domain events to occur, and print appropriate details 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 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 ...@@ -1386,6 +1386,9 @@ If I<--timeout> is specified, the command gives up waiting for events
after I<seconds> have elapsed. With I<--loop>, the command prints all after I<seconds> have elapsed. With I<--loop>, the command prints all
events until a timeout or interrupt key. events until a timeout or interrupt key.
When I<--timestamp> is used, a human-readable timestamp will be printed
before the event.
=item B<iothreadinfo> I<domain> [[I<--live>] [I<--config>] | [I<--current>]] =item B<iothreadinfo> I<domain> [[I<--live>] [I<--config>] | [I<--current>]]
Display basic domain IOThreads information including the IOThread ID and 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 ...@@ -2877,7 +2880,7 @@ The editor used can be supplied by the C<$VISUAL> or C<$EDITOR> environment
variables, and defaults to C<vi>. variables, and defaults to C<vi>.
=item B<net-event> {[I<network>] I<event> [I<--loop>] [I<--timeout> =item B<net-event> {[I<network>] I<event> [I<--loop>] [I<--timeout>
I<seconds>] | I<--list>} I<seconds>] [I<--timestamp>] | I<--list>}
Wait for a class of network events to occur, and print appropriate details 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 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 ...@@ -2891,6 +2894,9 @@ If I<--timeout> is specified, the command gives up waiting for events
after I<seconds> have elapsed. With I<--loop>, the command prints all after I<seconds> have elapsed. With I<--loop>, the command prints all
events until a timeout or interrupt key. events until a timeout or interrupt key.
When I<--timestamp> is used, a human-readable timestamp will be printed
before the event.
=item B<net-info> I<network> =item B<net-info> I<network>
Returns basic information about the I<network> object. Returns basic information about the I<network> object.
...@@ -4074,6 +4080,7 @@ timeout. ...@@ -4074,6 +4080,7 @@ timeout.
=item B<qemu-monitor-event> [I<domain>] [I<--event> I<event-name>] [I<--loop>] =item B<qemu-monitor-event> [I<domain>] [I<--event> I<event-name>] [I<--loop>]
[I<--timeout> I<seconds>] [I<--pretty>] [I<--regex>] [I<--no-case>] [I<--timeout> I<seconds>] [I<--pretty>] [I<--regex>] [I<--no-case>]
[I<--timestamp>]
Wait for arbitrary QEMU monitor events to occur, and print out the Wait for arbitrary QEMU monitor events to occur, and print out the
details of events as they happen. The events can optionally be filtered details of events as they happen. The events can optionally be filtered
...@@ -4090,6 +4097,10 @@ after I<seconds> have elapsed. With I<--loop>, the command prints all ...@@ -4090,6 +4097,10 @@ after I<seconds> have elapsed. With I<--loop>, the command prints all
events until a timeout or interrupt key. If I<--pretty> is specified, events until a timeout or interrupt key. If I<--pretty> is specified,
any JSON event details are pretty-printed for better legibility. 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<lxc-enter-namespace> I<domain> -- /path/to/binary [arg1, [arg2, ...]] =item B<lxc-enter-namespace> I<domain> -- /path/to/binary [arg1, [arg2, ...]]
Enter the namespace of I<domain> and execute the command C</path/to/binary> Enter the namespace of I<domain> and execute the command C</path/to/binary>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册