Files
percona-toolkit/t/pt-summary/samples/Linux/005/vmstat
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

8 lines
575 B
Plaintext

procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
1 0 0 3078356 2068 407492 0 0 15 2 34 27 0 0 100 0 0
0 0 0 3078048 2068 407912 0 0 92 20 1724 1374 3 5 93 0 0
0 0 0 3078304 2068 407872 0 0 0 0 245 171 0 0 99 0 0
0 0 0 3078320 2068 407868 0 0 0 0 160 109 0 0 100 0 0
0 0 0 3078700 2068 407864 0 0 0 0 133 100 0 0 100 0 0