Main Menu

Search

LINUX: HOW TO CHECK CONNECTIONS IN TCP ACCEPT QUEUE?

Accept Queue size can be checked using below command. 
 
$ ss -plnt sport = :6443|cat 
 
To check accept queue size on specific port below command can be used. 
 
$ ss -plnt sport = :6443|cat 
State   Recv-Q Send-Q  Local Address:Port  Peer Address:Port 
LISTEN  0      1024                *:6443             *:* 

 
 
The column Recv-Q shows the number of sockets in the Accept Queue, and Send-Q shows the backlog parameter. 
 
Command to Check if TCP Accept Queue is Overflowing. 
 
ss -n state syn-recv sport = :80 | wc -l 
 
 

Products to which Article Applies

All Linux Operating Systems

Search Keywords: linux networking network tcp tcpip tcp/ip ip connection connections networking queue syn accept command commands check how to transmit transmission packet packets

Article Author: Tarun Boyella

No comments:

Post a Comment