[CentOS] count of active tcp sockets?

J Potter jpotter-centos at codepuppy.com
Wed Apr 16 21:18:45 UTC 2008


> netstat -an|grep TIME_WAIT|wc  ?

I need to avoid anything that lists out all the connections -- the  
above would take too long if there are tens of thousands of connections.

I'm hoping there's a proc entry that has a summary count of the  
current number of connections?

-Jeff




More information about the CentOS mailing list