Need to know reason for connections closed in netstat -p tcp

Hello

netstat -p

give below 6634176 connections as closed.How do we trace that which all connections are being closed on the server?

1366888371 data packet headers correctly predicted
        1195906 connection requests
        5227320 connection accepts
        5992919 connections established (including accepts)
        6634176 connections closed (including 414116 drops)
        0 connections with ECN capability

Best regards,
Vishal

try

 netstat -p | grep "connections closed"

I am getting below error.This is AIX platform.

netstat -p | grep "connections closed"
netstat: option requires an argument -- p
usage: netstat [-Aaon] [-f address_family] [-@ [wparname]]
               [-D]
               [-cCgimMnPrsuvZ] [-f address_family] [ [-p proto] | [-@ [wparname]] ]
               [-n] [-I interface] [interval]
you have mail in /usr/spool/mail/oracle

Best regards,
Vishal

So why did it work in your first post or was it something else? In which case you to give CORRECT information and not false the the output in such way you confuse your peer and waste their time!

I used

netstat -p tcp

Best regards,
Vishal

And so the command line in post #2 would have worked then...

I had not used -p tcp in previous post

netstat -p tcp | grep "connections closed"
        6671525 connections closed (including 419089 drops)
        0 spliced connections closed

Best regards,
Vishal