Showing posts with label check the number connections to mysql server. Show all posts
Showing posts with label check the number connections to mysql server. Show all posts
check the number connections to mysql server-Linux Command
Posted by Raj
Check the number connections to mysql server using Linux command
In this tutorial, I will explain how to check the number of connections to mysql server using linux command.
check the number of connections to database
Command :netstat -antp | grep :3306 | wc -l
//3306 is Mysql port Number
check the number of connections to FTP
Command :netstat -antp | grep :21 | wc -l
//21 is FTP port number
In this tutorial, I will explain how to check the number of connections to mysql server using linux command.
check the number of connections to database
Command :netstat -antp | grep :3306 | wc -l
//3306 is Mysql port Number
check the number of connections to FTP
Command :netstat -antp | grep :21 | wc -l
//21 is FTP port number