Where can I find the list of connections open on a remote MySQL AWS RDS machine
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.
Connect to the MySQL AWS RDS instance and run the command
SHOW PROCESSLIST
This will list every connection to that MySQL instance, including the host and the port. 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With