首页 > 代码库 > pt-summary
pt-summary
pt-summary主要是用来统计机器信息:
[root@mxqmongodb2 bin]# ./pt-summary# Percona Toolkit System Summary Report ######################Date | 2017-06-27 02:47:13 UTC (local TZ: CST +0800)Hostname | mxqmongodb2Uptime | 80 days, 23:07, 7 users, load average: 0.35, 0.38, 0.33System | VMware, Inc.; VMware Virtual Platform; vNone (Other)Service Tag | VMware-42 13 2d 06 65 9d df f3-35 be 5e 0a c8 12 9a 3aPlatform | LinuxRelease | CentOS release 6.5 (Final)Kernel | 2.6.32-431.el6.x86_64Architecture | CPU = 64-bit, OS = 64-bitThreading | NPTL 2.12SELinux | DisabledVirtualized | VMWare# Processor ##################################################Processors | physical = 2, cores = 4, virtual = 4, hyperthreading = noSpeeds | 4x2394.000Models | 4xIntel(R) Xeon(R) CPU E5645 @ 2.40GHzCaches | 4x12288 KB# Memory #####################################################Total | 5.7GFree | 123.4MUsed | physical = 5.6G, swap allocated = 7.8G, swap used = 2.2G, virtual = 7.8GShared | 0.0Buffers | 229.8MCaches | 2.5GDirty | 240 kBUsedRSS | 2.3GSwappiness | 10DirtyPolicy | 20, 10DirtyStatus | 0, 0Locator Size Speed Form Factor Type Type Detail========= ======== ================= ============= ============= ===========RAM slot #1 2048 MB Unknown DIMM DRAM EDORAM slot #0 4096 MB Unknown DIMM DRAM EDORAM slot #10 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #11 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #12 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #13 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #14 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #15 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #16 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #17 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #18 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #19 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #20 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #21 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #22 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #23 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #24 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #25 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #26 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #27 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #28 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #29 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #2 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #30 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #31 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #32 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #33 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #34 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #35 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #36 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #37 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #38 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #39 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #3 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #40 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #41 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #42 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #43 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #44 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #45 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #46 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #47 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #48 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #49 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #4 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #50 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #51 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #52 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #53 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #54 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #55 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #56 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #57 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #58 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #59 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #5 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #60 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #61 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #62 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #63 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #6 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #7 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #8 {EMPTY} Unknown DIMM DRAM UnknownRAM slot #9 {EMPTY} Unknown DIMM DRAM Unknown# Mounted Filesystems ########################################Filesystem Size Used Type Opts Mountpoint/dev/sda1 128M 19% vfat rw,uid=0,gid=0,umask=0077,shortname=winnt /boot/efi/dev/sda2 97M 32% ext4 rw /boot/dev/sda3 9.9G 15% ext4 rw //dev/sda5 9.9G 4% ext4 rw,nosuid /var/dev/sda7 4.9G 3% ext4 rw,noexec,nosuid,nodev /tmp/dev/sda8 47G 72% ext4 rw,nosuid,nodev /hometmpfs 2.9G 0% tmpfs rw /dev/shm# Disk Schedulers And Queue Size #############################sda | [cfq] 128sr0 | [cfq] 128# Disk Partioning ############################################Device Type Start End Size============ ==== ========== ========== ==================/dev/sda Disk 85899345920/dev/sda1 Part 1 17 131604480/dev/sda2 Part 17 30 106928640/dev/sda3 Part 30 1335 10733990400/dev/sda4 Part 1335 10444 74924075520/dev/sda5 Part 1335 2641 10742215680/dev/sda6 Part 2641 3661 8389785600/dev/sda7 Part 3661 4307 5313530880/dev/sda8 Part 4307 10444 50478543360# Kernel Inode State #########################################dentry-state | 47363 41655 45 0 0 0file-nr | 928 0 592931inode-nr | 52370 5785# LVM Volumes ################################################Unable to collect information# LVM Volume Groups ##########################################Unable to collect information# RAID Controller ############################################Controller | No RAID controller detected# Network Config #############################################Controller | VMware VMXNET3 Ethernet Controller (rev 01)FIN Timeout | 10Port Range | 65535# Interface Statistics #######################################interface rx_bytes rx_packets rx_errors tx_bytes tx_packets tx_errors========= ========= ========== ========== ========== ========== ==========lo 3500000000 350000000 0 3500000000 350000000 0eth0 1750000000 350000000 0 50000000 350000000 0# Network Devices ############################################Device Speed Duplex========= ========= =========eth0 10000Mb/s Full# Network Connections ########################################Connections from remote IP addresses172.16.9.108 1172.16.16.34 60172.16.16.35 40127.0.0.1 4Connections to local IP addresses172.16.16.35 100127.0.0.1 4Connections to top 10 local ports17001 517002 517003 526379 227017 727018 93306 36379 46380 47618 1States of connectionsESTABLISHED 100LISTEN 20TIME_WAIT 1# Top Processes ##############################################PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND23529 root 20 0 134m 6956 732 S 2.0 0.1 117:20.07 redis-server1 root 20 0 19232 584 404 S 0.0 0.0 0:01.56 init2 root 20 0 0 0 0 S 0.0 0.0 0:00.06 kthreadd3 root RT 0 0 0 0 S 0.0 0.0 0:02.05 migration/04 root 20 0 0 0 0 S 0.0 0.0 0:30.19 ksoftirqd/05 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/06 root RT 0 0 0 0 S 0.0 0.0 0:09.66 watchdog/07 root RT 0 0 0 0 S 0.0 0.0 0:02.01 migration/18 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/1# Notable Processes ##########################################PID OOM COMMAND32339 -17 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 st1 0 0 0 2 15 0 0 0 0 98 1 00 0 0 0 300 100 2500 2500 4 5 88 4 00 0 0 0 0 300 1250 1250 1 0 91 9 00 0 0 0 0 100 1000 1250 0 0 97 3 00 0 0 0 0 500 1250 1250 1 0 93 6 0# The End ####################################################
pt-summary
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。