Sergey Kuzmichev ad593c6de9 Fix for PT-1983: pt-summary has missing records for memory due to dmidecode changes (#513)
* Fix for PT-1983 pt-summary missing one DIMM

This is a fix for PT-1983. dmidecode now doesn't print "Speed: UKNOWN" for
missing DIMMs. pt-summary code relies on the Speed field to be there, and when
it's missing, rows get concatenated (or rather not broken down correctly).
Adjusted the relevant code to not rely on the Speed field to be present.

* Added test for the fix for PT-1983

Due to dmidecode changes in 3.2, pt-summary needs to be able to work
with memory-related info with some missing fields in the dmidecode
output. This commit adds a test with dmidecode output modified to
include new format.

In addition, fixing test that are failing due to commit c9ec74c251

* PT-1983: updated changelog to reflect the bug fixed
2021-09-08 07:32:30 -03:00
2021-04-29 09:45:01 -03:00
2021-08-20 11:22:54 +03:00
WIP
2020-03-30 08:21:05 -03:00
2020-02-19 22:20:39 +03:00
2020-10-19 15:22:08 +02:00
2017-02-10 13:58:13 -08:00
2020-09-08 17:20:19 +03:00
2017-12-20 14:05:12 +00:00
2019-03-15 18:37:49 -03:00
2020-04-01 15:39:16 -03:00
2020-03-30 10:42:00 -03:00

Percona Toolkit

CLA assistant

Percona Toolkit is a collection of advanced command-line tools used by Percona 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/.

Version 3

Starting from version 3, there are new tools for MongoDB. These tools are written in Go so in order to compile these program, this repo must me cloned into the GOPATH directory.
Example:

mkdir ${HOME}/go
export GOPATH=${HOME}/go
mkdir -p ${HOME}/go/src/github.com/percona
cd ${HOME}/go/src/github.com/percona
git clone https://github.com/percona/percona-toolkit.git
cd percona-toolkit/src/go
make
Description
Percona Toolkit: a collection of advanced open source command-line tools.
Readme 134 MiB
Languages
Perl 86.1%
Shell 7.4%
Go 4.5%
JavaScript 0.7%
CSS 0.5%
Other 0.6%