OneCompiler

Checking open MongoDB connections

272

If you want to see how many open connections you have to MongoDB from the application server, we can run the following command.

netstat -tupn | grep -E ":(27017) .*"