pt-summary pt-mysql-summary工具
2个percona的工具还真挺好用的。
pt-summary
# Percona Toolkit System Summary Report ######################
Date | 2014-01-25 02:21:40 UTC (local TZ: CST +0800)
Hostname |
Uptime | 58 days, 9:52, 1 user, load average: 0.48, 0.31, 0.24
System | Dell Inc.; PowerEdge R610; vNot Specified (<OUT OF SPEC>)
Service Tag | 2DDB33X
Platform | Linux
Release | Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel | 2.6.18-164.el5PAE
Architecture | CPU = 64-bit, OS = 32-bit
Threading | NPTL 2.5
Compiler | GNU CC version 4.1.2 20080704 (Red Hat 4.1.2-44).
SELinux | Disabled
Virtualized | No virtualization detected
# Processor ##################################################
Processors | physical = 2, cores = 8, virtual = 8, hyperthreading = no
Speeds | 8x2128.237
Models | 8xIntel(R) Xeon(R) CPU E5506 @ 2.13GHz
Caches | 8x4096 KB
# Memory #####################################################
Total | 11.9G
Free | 4.1G
Used | physical = 7.8G, swap allocated = 12.7G, swap used = 68.0k, virtual = 7.8G
Buffers | 135.1M
Caches | 5.0G
Dirty | 12680 kB
UsedRSS | 3.8G
Swappiness | 60
DirtyPolicy | 10, 2
Locator Size Speed Form Factor Type Type Detail
========= ======== ================= ============= ============= ===========
DIMM_A1 2048 MB 1333 MHz (0.8 ns) DIMM {OUT OF SPEC} Synchronous
DIMM_A2 2048 MB 1333 MHz (0.8 ns) DIMM {OUT OF SPEC} Synchronous
DIMM_A3 2048 MB 1333 MHz (0.8 ns) DIMM {OUT OF SPEC} Synchronous
DIMM_B1 2048 MB 1333 MHz (0.8 ns) DIMM {OUT OF SPEC} Synchronous
DIMM_B2 2048 MB 1333 MHz (0.8 ns) DIMM {OUT OF SPEC} Synchronous
DIMM_B3 2048 MB 1333 MHz (0.8 ns) DIMM {OUT OF SPEC} Synchronous
DIMM_A4 {EMPTY} Unknown DIMM {OUT OF SPEC} Synchronous
DIMM_A5 {EMPTY} Unknown DIMM {OUT OF SPEC} Synchronous
DIMM_A6 {EMPTY} Unknown DIMM {OUT OF SPEC} Synchronous
DIMM_B4 {EMPTY} Unknown DIMM {OUT OF SPEC} Synchronous
DIMM_B5 {EMPTY} Unknown DIMM {OUT OF SPEC} Synchronous
DIMM_B6 {EMPTY} Unknown DIMM {OUT OF SPEC} Synchronous
# Mounted Filesystems ########################################
Filesystem Size Used Type Opts Mountpoint
/dev/sda1 487M 4% ext3 rw /boot
/dev/sda3 529G 83% ext3 rw /
tmpfs 6.0G 0% tmpfs rw /dev/shm
# Disk Schedulers And Queue Size #############################
md0 | UNREADABLE
sda | [cfq] 128
# Disk Partioning ############################################
Device Type Start End Size
============ ==== ========== ========== ==================
/dev/sda Disk 599550590976
/dev/sda1 Part 1 64 518192640
/dev/sda2 Part 65 1721 13621063680
/dev/sda3 Part 1722 72891 585384952320
# Kernel Inode State #########################################
dentry-state | 93551 87248 45 0 0 0
file-nr | 4480 0 1200045
inode-nr | 82528 22967
# LVM Volumes ################################################
Unable to collect information
# LVM Volume Groups ##########################################
Unable to collect information
# RAID Controller ############################################
Controller | LSI Logic MegaRAID SAS
RAID controller software not found; try getting it from
your package repository or the manufacturer's website
# Network Config #############################################
Controller | Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
Controller | Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
Controller | Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
Controller | Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet (rev 20)
FIN Timeout | 30
Port Range | 65000
# Interface Statistics #######################################
interface rx_bytes rx_packets rx_errors tx_bytes tx_packets tx_errors
========= ========= ========== ========== ========== ========== ==========
lo 3500000000 2500000000 0 3500000000 2500000000 0
eth0 2500000000 30000000 0 10000000 175000 0
eth1 3000000000 1500000000 15 175000000 2500000000 0
eth2 0 0 0 0 0 0
eth3 0 0 0 0 0 0
sit0 0 0 0 0 0 0
# Network Devices ############################################
Device Speed Duplex
========= ========= =========
eth0 1000Mb/s Full
eth1 1000Mb/s Full
eth2 Unknown! Half
eth3 Unknown! Half
# Network Connections ########################################
Connections from remote IP addresses
14.119.95.143 2
27.154.127.144 1
27.189.84.237 1
27.211.116.235 3
42.120.145.66 3
58.35.171.14 3
60.191.141.157 2
61.52.23.245 1
61.135.249.215 1
61.184.253.59 10
106.38.177.148 1
110.249.221.34 1
112.243.233.48 1
113.57.191.235 1
113.108.16.119 1
115.231.49.186 4
116.224.65.76 2
117.42.7.198 4
122.7.13.132 6
122.226.103.50 2
123.13.39.133 1
123.54.46.111 4
123.125.71.41 1
123.125.71.42 1
123.125.71.94 1
123.125.71.101 1
123.125.71.102 1
124.237.96.43 1
127.0.0.1 450
157.55.32.147 1
157.55.33.146 1
171.105.199.34 4
175.2.55.80 5
192.168.22.21 1
219.150.71.168 2
220.181.108.93 1
220.181.108.102 1
220.181.108.144 1
220.181.125.138 5
221.234.41.186 1
222.178.145.72 1
Connections to local IP addresses
127.0.0.1 450
222.73.99.69 90
Connections to top 10 local ports
10053 2
11211 225
80 80
8267 1
8366 1
8379 1
8401 1
8403 1
8467 1
9000 1
States of connections
ESTABLISHED 500
FIN_WAIT1 10
LAST_ACK 1
LISTEN 15
TIME_WAIT 15
# Top Processes ##############################################
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9791 root 20 0 2464 1076 688 R 1.9 0.0 0:00.02 top
1 root 15 0 2072 624 532 S 0.0 0.0 0:11.58 init
2 root RT -5 0 0 0 S 0.0 0.0 0:03.15 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.28 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.03 migration/1
6 root 34 19 0 0 0 S 0.0 0.0 0:00.06 ksoftirqd/1
7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
8 root RT -5 0 0 0 S 0.0 0.0 0:00.14 migration/2
# Notable Processes ##########################################
PID OOM COMMAND
3044 +0 sshd
# The End ####################################################
很详细,基本上你想要的硬件信息上面都能找到。最牛逼的就是能看服务器有多少内存插槽,插了几根内存也能查出来。太虎了。不用dell 的工具了。
网络方面也是一把利器,多少ip在连一目了然。pt-mysql-summary 也是一样犀利。老美的东西确实不错。。
pt-summary pt-mysql-summary工具的更多相关文章
- MySQL数据库工具类之——DataTable批量加入MySQL数据库(Net版)
MySQL数据库工具类之——DataTable批量加入数据库(Net版),MySqlDbHelper通用类希望能对大家有用,代码如下: using MySql.Data.MySqlClient; us ...
- Mysql 复制工具(percona-toolkit)
Mysql 复制工具 1.percona-toolkit简介 percona-toolkit是一组高级命令行工具的集合,用来执行各种通过手工执行非常复杂和麻烦的mysql和系统任务,这些任务包括: 检 ...
- mysql管理工具percona-toolkit-3简单使用介绍
安装percona-toolkit-3 # -.el6.x86_64.rpm :.el6 -y 1.pt-summary #显示和系统相关的基本信息: [root@master ~]# pt-summ ...
- ((uchar*)(Img1->imageData + Img1->widthStep*pt.y))[pt.x] 的 具体含义
widthstep是指图像每行所占的字节数. 主要要和width区别: width是表示图像的每行像素数,widthStep指表示存储一行像素需要的字节数. 在OpenCV里边,widthStep必须 ...
- 15款最佳的MySQL管理工具和应用程序
工欲善其事,必先利其器.几乎每个开发人员都有最钟爱的 MySQL 管理工具,它帮助开发人员在许多方面支持包括 PostgreSQL,MySQL,SQLite,Redis,MongoDB 等在内的多种数 ...
- MySQL客户端工具 SQLyog
我最喜欢它的History功能,把执行过的操作对应语句都输出出来,一些麻烦的语句用GUI操作后,还能保存对应的sql语句.不错! 官网:http://www.webyog.com 下面是官方的介绍:S ...
- 最棒的10款MySQL GUI工具
绝大多数的关系数据库都明显不同于MS Access,它们都有两个截然不同的部分:后端作为数据仓库,前端作为用于数据组件通信的用户界面.这种设计非常巧妙,它并行处理两层编程模型,将数据 层从用户界面中分 ...
- 4个mysql客户端工具的比较
mysql是我以前学习和练习所使用的数据,现在在工作中也在使用,之前公司里用oracle,我在做自己的东西的时候觉得用oracle太不方便,于是就找了mysql(当时也考虑过sqlserver,觉得还 ...
- mysql 管理工具
摘自: http://www.chinaz.com/free/2009/0306/68691.shtml MySQL是一个非常流行的小型关系型数据库管理系统,2008年1月16号被Sun公司收购.目前 ...
- 工作常用的linux/mysql/php/工具命令
工作常用的linux/mysql/php/工具命令: 1. tar备份目录 tar zcvf ****.tar.gz ****/ tar 备份跳过目录 tar --exclude=test1 3. s ...
随机推荐
- Xshell下载和连接Linux
Xshell下载和连接Linux 第一步.Xshell的下载 方法1:从官网下载个人使用时免费的,商业使用是要收费的. http://www.xshellcn.com/ 方法二2:百度云下载Xshel ...
- GitHub 如何忽略文件或者文件夹
在我们开发项目的时候,往往会产生一些不必要的文件,我们会选择忽略他们,不提交到版本控制中,那我们该如何做呢? 步骤一:在项目根目录下,右键,git bash,在弹出的命令行输入框中输入命令:touch ...
- 2019-2020-1 20199308《Linux内核原理与分析》第三周作业
<Linux内核分析> 第二章 操作系统是如何工作的 2.1 函数调用堆栈 3个关键性的方法机制(3个法宝) 存储程序计算机 函数调用堆栈机制 中断 堆栈相关的寄存器 ESP:堆栈指针(s ...
- Openstack Swift 创建用户和 container
openstack user create --domain default --password-prompt [用户名];openstack role add --project admin - ...
- 计算机网络 之 Cisco packet tracer 的安装及汉化
可以去官网下载最新版本的Cisco packet tracer 免费 汉化包及7.1版本百度云链接:链接: https://pan.baidu.com/s/1XudelgnMu6XysCZ36csl7 ...
- Waiting for another flutter command to release the startup lock...
2019独角兽企业重金招聘Python工程师标准>>> rm ./flutter/bin/cache/lockfile info from 转载于:https://my.oschin ...
- Next.js 7发布,构建速度提升40%
Next.js团队发布了其开源React框架的7版本.该版本的Next.js主要是改善整体的开发体验,包括启动速度提升57%.开发时的构建速度提升40%.改进错误报告和WebAssembly支持. \ ...
- [故障解决]图文:windows apache无法启用 端口被占用
windows apache无法启用 端口被占用 1 XAMPP Error: Apache shutdown unexpectedly 无法启动apache,显示的log为: 2 查了一下端口, 通 ...
- mysql查询语句中like 的用法
1.常见用法: (1)搭配%使用 %代表一个或多个字符的通配符,譬如查询字段name中以大开头的数据: (2)搭配_使用 _代表仅仅一个字符的通配符,把上面那条查询语句中的%改为_,会发现只能查询出一 ...
- FZU 1894 志愿者选拔
Problem 1894 志愿者选拔 Accept: 2308 Submit: 7003 Time Limit: 1500 mSec Memory Limit : 32768 KB Problem D ...