mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-26 01:02:25 +08:00
PT-1492 Update doc for pt-kill
This commit is contained in:
+12
@@ -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
|
taken. At this step, there are no more classes, just a single list of
|
||||||
queries to kill, print, etc.
|
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
|
=head1 OUTPUT
|
||||||
|
|
||||||
If only L<"--kill"> is given, then there is no output. If only
|
If only L<"--kill"> is given, then there is no output. If only
|
||||||
|
|||||||
Reference in New Issue
Block a user