Brian Fraser fraserb@gmail.com c9146b3c04 Fix for 1046440: pt-stalk purge_samples slows down checks
Like the bug submitter noted, the fix was simply to make purge_samples
only come into effect if the collection has been triggered.

I added a second purge_samples after the collect loop, which should
maintain the previous behavior for the non-collect case, and purge
any leftover files that passed the threshold during a stalk that
never triggered collection.
2012-12-05 13:20:06 -03:00
2012-04-03 12:42:45 -07:00

Percona Toolkit
===============

Percona Toolkit is a collection of advanced command-line tools used by
Percona (http://www.percona.com/) support staff to perform a variety of
MySQL and system tasks that are too difficult or complex to perform manually.

These tools are ideal alternatives to private or "one-off" scripts because
they are professionally developed, formally tested, and fully documented.
They are also fully self-contained, so installation is quick and easy and
no libraries are installed.

Percona Toolkit is developed and supported by Percona Inc.  For more
information and other free, open-source software developed by Percona,
visit http://www.percona.com/software/.

Installing
----------

To install all tools, run:

   perl Makefile.PL
   make
   make test
   make install

You probably need to be root to `make install'.  On most systems, the tools
are installed in /usr/local/bin.  See the INSTALL file for more information.

Documentation
-------------

Run `man percona-toolkit' to see a list of installed tools, then `man tool'
to read the embedded documentation for a specific tool.  You can also read
the documentation online at http://www.percona.com/software/percona-toolkit/.


Description
Percona Toolkit: a collection of advanced open source command-line tools.
Readme 118 MiB
Languages
Perl 86.1%
Shell 7.4%
Go 4.5%
JavaScript 0.7%
CSS 0.5%
Other 0.6%