mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-04 03:26:19 +00:00

* 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
86 lines
4.0 KiB
Plaintext
86 lines
4.0 KiB
Plaintext
Hostname | localhost.localdomain
|
|
Uptime | 38 min, 1 user, load average: 1.60, 1.03, 1.37
|
|
Platform | Linux
|
|
Release | CentOS release 5.7 (Final)
|
|
Kernel | 2.6.18-274.el5
|
|
Architecture | CPU = 32-bit, OS = 32-bit
|
|
Threading | NPTL 2.5
|
|
Compiler | GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-51).
|
|
SELinux | No SELinux detected
|
|
Virtualized | QEmu
|
|
# Processor ##################################################
|
|
Processors | physical = 1, cores = 0, virtual = 1, hyperthreading = no
|
|
Speeds | 1x1662.701
|
|
Models | 1xQEMU Virtual CPU version 0.14.1
|
|
Caches | 1x4096 KB
|
|
# Memory #####################################################
|
|
Total | 1010.5M
|
|
Free | 784.4M
|
|
Used | physical = 226.1M, swap allocated = 2.0G, swap used = 0.0, virtual = 226.1M
|
|
Shared | 0.0
|
|
Buffers | 48.8M
|
|
Caches | 122.2M
|
|
Dirty | 152 kB
|
|
UsedRSS | 63.2M
|
|
Swappiness |
|
|
DirtyPolicy |
|
|
# Mounted Filesystems ########################################
|
|
Filesystem Size Used Type Opts Mountpoint
|
|
/dev/hda1 99M 13% ext3 rw /boot
|
|
/dev/mapper/VolGroup00-LogVol00 5.7G 20% ext3 rw /
|
|
tmpfs 506M 0% tmpfs rw /dev/shm
|
|
# Disk Schedulers And Queue Size #############################
|
|
dm-0 | UNREADABLE
|
|
dm-1 | UNREADABLE
|
|
hda | [cfq] 128
|
|
hdc | [cfq] 128
|
|
md0 | UNREADABLE
|
|
# Disk Partioning ############################################
|
|
Device Type Start End Size
|
|
============ ==== ========== ========== ==================
|
|
/dev/hda Disk 8589934592
|
|
/dev/hda1 Part 1 13 98703360
|
|
/dev/hda2 Part 14 1044 8472038400
|
|
# Kernel Inode State #########################################
|
|
dentry-state | 9392 7451 45 0 0 0
|
|
file-nr | 640 0 102187
|
|
inode-nr | 5431 148
|
|
# LVM Volumes ################################################
|
|
Unable to collect information
|
|
# LVM Volume Groups ##########################################
|
|
Unable to collect information
|
|
# RAID Controller ############################################
|
|
Controller | No RAID controller detected
|
|
# Network Config #############################################
|
|
# Network Connections ########################################
|
|
Connections from remote IP addresses
|
|
Connections to local IP addresses
|
|
Connections to top 10 local ports
|
|
States of connections
|
|
LISTEN 4
|
|
# Top Processes ##############################################
|
|
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
|
|
3443 root 17 0 2288 956 728 R 25.5 0.1 0:01.30 top
|
|
2252 root 15 0 2060 684 604 S 1.3 0.1 0:09.03 hald-addon-stor
|
|
2230 haldaemo 15 0 5836 3928 1700 S 0.7 0.4 0:32.54 hald
|
|
1 root 15 0 2160 668 576 S 0.0 0.1 0:39.36 init
|
|
2 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
|
|
3 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
|
|
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
|
|
5 root 10 -5 0 0 0 S 0.0 0.0 0:01.77 events/0
|
|
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.26 khelper
|
|
# Notable Processes ##########################################
|
|
PID OOM COMMAND
|
|
2333 +0 sshd
|
|
# Simplified and fuzzy rounded vmstat (wait please) ##########
|
|
procs ---swap-- -----io---- ---system---- --------cpu--------
|
|
r b si so bi bo ir cs us sy il wa st
|
|
2 0 0 0 80 15 1000 60 48 24 27 1 0
|
|
1 0 0 0 0 0 1000 50 70 30 0 0 0
|
|
1 0 0 0 0 100 800 50 67 33 0 0 0
|
|
1 0 0 0 0 0 1000 35 80 20 0 0 0
|
|
1 0 0 0 0 0 900 45 62 38 0 0 0
|
|
# Memory management ##########################################
|
|
Transparent huge pages are enabled.
|
|
# The End ####################################################
|