This Shell script will check the time_wait and close_wait on linux server for incoming request.
TIME_WAIT
The socket is waiting after close to handle packets still in the network.
CLOSE_WAIT
The remote end has shut down, waiting for the socket to close.
while true; do clear; netstat -na |grep -i “close”|wc -l;sleep 5; done
2407 Total Views 1 Views Today