Mihir
Mihir

Reputation: 2074

Test application for muliple open connections?

I don't know how to put this but here goes. My application has creating connections with the server. How can I test the application to check whether connections are getting closed and resources are released or not.

Upvotes: 0

Views: 45

Answers (1)

Diego Torres Milano
Diego Torres Milano

Reputation: 69228

You can use

$ adb shell netstat | grep ESTABLISHED

or something similar to monitor the connections.

If you are interested in a specific server you can do

$ adb shell netstat | grep <SERVER_IP> | grep ESTABLISHED

Upvotes: 2

Related Questions