Use this command –
netstat -nputw
If you are looking for particular IP address or key then
Grep it as
netstat -nputw|egrep
"192.0.0.1"
I use for monitoring the Connection OPEN and CLOSE status.
In one of my project huge one, I got an exception “12 - too
many connections “ . I was sure about the connection Open() and Close()
and the calling place was right.
To test if there is anything missing from human eye. I had restarted the application and parallel to that I was running netstat command
to watch opened connection is closing or not.
No comments:
Post a Comment