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

23 lines
585 B
Plaintext

platform Linux
hostname localhost.localdomain
kernel 3.10.0-1160.31.1.el7.x86_64
release CentOS Linux release 7.6.1810 (Core)
CPU_ARCH 64-bit
OS_ARCH 64-bit
virt KVM
vendor innotek GmbH
system innotek GmbH; VirtualBox; v1.2 (Other)
servicetag 0
rss 487407616
raid_controller No RAID controller detected
threading NPTL 2.17
getenforce Enforcing
swappiness 30
dirtypolicy 30, 10
dirtystatus 0, 0
internal::disks sda
internal::sda [noop] 128
dentry-state 44507 24627 45 0 6751 0
file-nr 1824 0 380072
inode-nr 37935 335