Thanks , now this looks better than the previous .
One more question is it possible to know the ProcessName also using netstat .
For example i started
Tomcat on 8080 and ran netstat and this got displayed on Command Prompt .
TCP c8063:1883 localhost:8080 ESTABLISHED
Is it possible to display the Process name also ??