mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-03-01 02:00:46 +08:00
12bd26022a1530253499a63e092e7ffa025a0433
Turns out that awk's indexes are documented to start from 1; So what happens if you use 0? Apparently it's undefined behavior, so substr(var, 0, 5); and substr(var, 1, 5); May or may not actually do the same thing. In Debian 6, the former doesn't quite work, and actually returns something like substr(var, 1, 4), which broke section()'s output.
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
Languages
Perl
85.5%
Shell
7.3%
Go
5.2%
JavaScript
0.7%
CSS
0.5%
Other
0.6%