Login or Register to Ask a Question and Join Our Community

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

Thread Tools Search this Thread
Special Forums IP Networking Need to know reason for connections closed in netstat -p tcp
# 1  
Old 04-30-2014
Need to know reason for connections closed in netstat -p tcp


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,
# 2  
Old 04-30-2014

 netstat -p | grep "connections closed"

# 3  
Old 04-30-2014
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]]
               [-cCgimMnPrsuvZ] [-f address_family] [ [-p proto] | [-@ [wparname]] ]
               [-n] [-I interface] [interval]
you have mail in /usr/spool/mail/oracle

Best regards,
# 4  
Old 04-30-2014
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!
# 5  
Old 04-30-2014
I used
netstat -p tcp

Best regards,
# 6  
Old 04-30-2014
And so the command line in post #2 would have worked then...
# 7  
Old 04-30-2014
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,
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. IP Networking

Connections not shown in netstat output

I have a TCPIP server application (a Vendor package) which by default allows 10 connections. It provides a parameter to allow us to increase the maximum allowable connections in case it is needed. Intermittently this application is failing with maximum number of connections reached even when there... (1 Reply)
Discussion started by: AIX_user
1 Replies

2. Solaris

Connections closed for all applications

I've recently installed Solaris 10 10/9 in a new Dell Power Edge 630. Whenever I try to telnet, ssh, or FTP TO this box FROM another box on the same network segment, the following occurs: Roughly 80% of the time I get "Unable to connect to remote host: Connection refused" The remaining 20%... (0 Replies)
Discussion started by: cvaughn
0 Replies

3. UNIX for Dummies Questions & Answers

TCP failed connection attempts from netstat -s

Dear experts, I am seeing a lot of TCP failed connection attempts from "netstat -s" on one of our servers. How can I pin point what connection failed and what are the ports involved? Any tools/commands I can dig in deeper to diag. what went wrong on these "failed connection attempts"? ... (2 Replies)
Discussion started by: cache51
2 Replies

4. Solaris

How to kill the TCP ESTABLISHED connection in netstat

Hello, Actually there are some bugs in application which does not close the TCP connection to other server though CORBA. We need to kill that ESTABLISHED connections as new connection are not happeneing as the allocated ports were used and showing as ESTABLISHED Is there any... (4 Replies)
Discussion started by: GIC1986
4 Replies

5. Red Hat

How to kill all active tcp connections from an IP?

How to kill all active tcp connections from an IP? I am using CentOS (3 Replies)
Discussion started by: an00p
3 Replies

6. SCO

all tcp are CLOSED on SCO Unix on VMWARE

Hi folks, First of all, sorry about my english, isn't the best and thks for advance. Here es my problem... I have virtualize an SCO unix with VMware ESX 3 and everything was going on beatifull until that i try to connect from anorther host, i can't do it so i check the connection with... (5 Replies)
Discussion started by: martocapo
5 Replies

7. Post Here to Contact Site Administrators and Moderators

Thread was closed without a valid reason

Dear Administrators, I think Mr. Vino is one of your Moderators here because he closes this thread: https://www.unix.com/showthread.php?p=302086230#post302086230 without a valid reason. Rule 7 states no headhunters or recruiters, but career advice is not prohibited here i think, because it... (2 Replies)
Discussion started by: patras
2 Replies

8. SCO

tcp port always closed in inetd

sco unix 5.0.x, several weeks ago, I add a telnet-like service in inetd.conf, it runs well for 100 network terminals. But nowdays, the terminals can connect to server successfully after booting machine, but several hours later, can not connect. "netstat -p tcp -a" can NOT find the port in... (1 Reply)
Discussion started by: shark_gao
1 Replies
Login or Register to Ask a Question

Featured Tech Videos