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

19 lines
1.8 KiB
Plaintext

/dev/sda1 40G 31G 9.2G 78% / on / type xfs (rw,relatime,seclabel,attr2,inode64,noquota)
devtmpfs 1.9G 0 1.9G 0% /dev on /dev type devtmpfs (rw,nosuid,seclabel,size=1932568k,nr_inodes=483142,mode=755)
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=387996k,mode=700,uid=1000,gid=1000)
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
tmpfs 1.9G 13M 1.9G 1% /dev/shm on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
tmpfs 1.9G 13M 1.9G 1% /dev/shm on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs 1.9G 13M 1.9G 1% /dev/shm on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=387996k,mode=700,uid=1000,gid=1000)
tmpfs 1.9G 13M 1.9G 1% /dev/shm on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
tmpfs 1.9G 8.6M 1.9G 1% /run on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
tmpfs 1.9G 8.6M 1.9G 1% /run on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs 1.9G 8.6M 1.9G 1% /run on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=387996k,mode=700,uid=1000,gid=1000)
tmpfs 1.9G 8.6M 1.9G 1% /run on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
tmpfs 379M 0 379M 0% /run/user/1000 on /dev/shm type tmpfs (rw,nosuid,nodev,seclabel)
tmpfs 379M 0 379M 0% /run/user/1000 on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs 379M 0 379M 0% /run/user/1000 on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=387996k,mode=700,uid=1000,gid=1000)
tmpfs 379M 0 379M 0% /run/user/1000 on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)