PT-1492 Update doc for pt-kill

This commit is contained in:
Carlos Salguero
2018-12-18 10:43:33 -03:00
parent c5c4a87338
commit 425019f593
+12
View File
@@ -7604,6 +7604,18 @@ from all classes. The C<Actions> options specify which actions will be
taken. At this step, there are no more classes, just a single list of
queries to kill, print, etc.
pt-kill will kill all the queries matching ANY of the specified criteria (logical OR).
For example, using:
--busy-time 114 --match-command 'Query|Execute'
will kill all queries having busy-time > 114 C<OR> where the command is C<Query> or C<Execute>
If you want to kill only the queries where C<busy-time > 114> C<AND> the command is Query or
Execute, you need to use L<"--kill-busy-commands>:
--busy-time 114 --kill-busy-commands 'Query|Execute'
=head1 OUTPUT
If only L<"--kill"> is given, then there is no output. If only