netstat

Today found a usefull combination of netstat command

# netstat -a -ngrep -E “^(tcp)”cut -c 68-sortuniq -csort -n
13 CLOSE_WAIT
13 LISTEN
15 LAST_ACK
48 FIN_WAIT1
68 SYN_RECV
157 TIME_WAIT
187 ESTABLISHED
1233 FIN_WAIT2

#

No related posts.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>