See connections to your server

You ever wanted to see what connections are in place to your server?
I wrote a script called /usr/bin/conn with this:
netstat -na | egrep ‘tcp’ | grep -v LISTEN
and then just ran
# chmod 755 /usr/bin/conn
# watch conn
and now i’m watching the live connections!
207/433

Leave a Reply

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