查看mysql 的连接数:
来源:互联网 发布:mac 杀毒 编辑:程序博客网 时间:2024/04/30 09:27
$ mysqladmin -uroot -p -h192.168.2.*** status
mysqladmin -uroot -hlocalhost -proot processlist
| Id | User | Host | db | Command | Time | State | Info |
+----+------+----------------------+------+---------+------+-------+------------------+
| 2 | root | 192.168.2.*:62283 | test | Sleep | 961 | | |
| 3 | root | 192.168.2.*:62284 | | Sleep | 876 | | |
| 5 | root | 192.168.1.***:55688 | test | Sleep | 168 | | |
| 24 | root | 192.168.1.***:55805 | test | Sleep | 550 | | |
| 25 | root | 192.168.1.***:55807 | test | Sleep | 0 | | |
| 26 | root | 192.168.1.***:55806 | test | Sleep | 550 | | |
| 27 | root | 192.168.1.***:55808 | test | Sleep | 550 | | |
| 28 | root | 192.168.1.***:55815 | test | Sleep | 0 | | |
| 29 | root | 192.168.1.***:55817 | test | Sleep | 0 | | |
| 30 | root | 192.168.1.***:55818 | test | Sleep | 0 | | |
| 31 | root | 192.168.1.***:55819 | test | Sleep | 0 | | |
| 32 | root | 192.168.1.***:55820 | test | Sleep | 0 | | |
| 36 | root | 192.168.1.***:56695 | test | Sleep | 0 | | |
| 37 | root | 192.168.1.***:56696 | test | Sleep | 0 | | |
| 38 | root | 192.168.1.***:56697 | test | Sleep | 0 | | |
| 39 | root | 192.168.1.***:56698 | test | Sleep | 0 | | |
| 40 | root | 192.168.1.***:56699 | test | Sleep | 0 | | |
| 41 | root | ceshiserver234:26721 | | Query | 0 | init | show processlist |
+----+------+----------------------+------+------
查看详细的状态。
mysqladmin -uroot -hlocalhost -proot processlist
| Id | User | Host | db | Command | Time | State | Info |
+----+------+----------------------+------+---------+------+-------+------------------+
| 2 | root | 192.168.2.*:62283 | test | Sleep | 961 | | |
| 3 | root | 192.168.2.*:62284 | | Sleep | 876 | | |
| 5 | root | 192.168.1.***:55688 | test | Sleep | 168 | | |
| 24 | root | 192.168.1.***:55805 | test | Sleep | 550 | | |
| 25 | root | 192.168.1.***:55807 | test | Sleep | 0 | | |
| 26 | root | 192.168.1.***:55806 | test | Sleep | 550 | | |
| 27 | root | 192.168.1.***:55808 | test | Sleep | 550 | | |
| 28 | root | 192.168.1.***:55815 | test | Sleep | 0 | | |
| 29 | root | 192.168.1.***:55817 | test | Sleep | 0 | | |
| 30 | root | 192.168.1.***:55818 | test | Sleep | 0 | | |
| 31 | root | 192.168.1.***:55819 | test | Sleep | 0 | | |
| 32 | root | 192.168.1.***:55820 | test | Sleep | 0 | | |
| 36 | root | 192.168.1.***:56695 | test | Sleep | 0 | | |
| 37 | root | 192.168.1.***:56696 | test | Sleep | 0 | | |
| 38 | root | 192.168.1.***:56697 | test | Sleep | 0 | | |
| 39 | root | 192.168.1.***:56698 | test | Sleep | 0 | | |
| 40 | root | 192.168.1.***:56699 | test | Sleep | 0 | | |
| 41 | root | ceshiserver234:26721 | | Query | 0 | init | show processlist |
+----+------+----------------------+------+------
查看详细的状态。
0 0
- 查看mysql的连接数
- 查看mysql 的连接数:
- 查看 mysql 的连接数
- 查看mysql连接数
- 查看mysql 连接数
- MySQL查看连接数
- 查看Mysql连接数
- 查看mysql连接数
- 查看与设置mysql的连接数
- mysql 查看连接数 查看被锁的表
- Mysql 查看连接数,状态
- 查看mysql当前连接数
- Mysql 查看连接数,状态
- Mysql 查看连接数,状态
- mysql 查看当前连接数
- 设置/查看mysql连接数
- mysql 查看当前连接数
- 置/查看mysql连接数
- C语言两种方法实现进程间 socket 通信
- 现在公开一个DHT网络爬虫网络爬虫供大家一起交流
- 也就网站标题,他显示在浏览器上框
- 打印所有字母所有可能的组合
- Struts1应用、实现简单计算器、使用DispatchAction、显示友好的报错信息、使用动态Form简化开发
- 查看mysql 的连接数:
- TQ2440 IIC基础
- AES - Java AES算法和openssl配对
- 开放产品开发(OPD):OPD框架
- opencv.cv2.findContours()函数
- 循环控制语句
- NOJ1077教练的礼物——网络最大流
- wifi详解(三)
- 黑马程序员---Java语言概述以及环境搭建