简体   繁体   English

如何知道远程MySQL AWS RDS计算机上打开的连接列表

[英]How to know the list of connections open on a remote MySQL AWS RDS machine

Where can I find the list of connections open on a remote MySQL AWS RDS machine 在哪里可以找到远程MySQL AWS RDS计算机上打开的连接列表

netstat -n |grep 3306|grep ESTABLISHED|wc -l

I do this to find connections which are ESTABLISHED locally, how do I do this for remote instance. 我这样做是为了找到本地ESTABLISHED的连接,我该如何为远程实例做这个。

Connect to the MySQL AWS RDS instance and run the command 连接到MySQL AWS RDS实例并运行该命令

SHOW PROCESSLIST

This will list every connection to that MySQL instance, including the host and the port. 这将列出与该MySQL实例的每个连接,包括主机和端口。 It wil also show what command they are currently executing. 它还将显示它们当前正在执行的命令。 If you want to see the full command, run 如果要查看完整命令,请运行

SHOW FULL PROCESSLIST

MySQL SHOW PROCESSLIST Reference Page MySQL SHOW PROCESSLIST参考页

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AWS RDS mysql远程访问 - AWS RDS mysql remote access 如何知道仍然使用mysql和.Net打开的连接数? - How to know number of connections which are still open using mysql and .Net? 始终使用Spring Boot(JPA)打开具有10个连接的AWS RDS - AWS RDS always with 10 connections open using Spring Boot (JPA) AWS Lambda 在峰值期间淹没 RDS MySQL 连接 - AWS Lambda flooding RDS MySQL connections during spikes AWS RDS Aurora MySQL 集群,Reader Replica 显示没有连接 - AWS RDS Aurora MySQL Cluster, Reader Replica shows no connections 将 CSV 数据插入 AWS RDS MySQL DB 时出现错误消息 1054“'字段列表'中的未知列。请告诉我如何解决此错误 - When inserting CSV data into AWS RDS MySQL DB getting errorMessage 1054 "Unknown column in 'field list'. Please let me know how to fix this error 如何安装和配置RMySQL以连接到远程MySQL数据库(AWS RDS)? - How do I install and configure RMySQL to connect to a remote MySQL database (AWS RDS)? 如何在我的应用程序中处理AWS-RDS连接? - How to handle AWS-RDS connections within my application? AWS RDS:如何从本地主机访问/连接到RDS MySql DB - AWS RDS: How to access/connect to RDS MySql DB From localhost AWS RDS如何设置MySQL数据库 - AWS RDS How to set up a MySQL Database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM