Thursday, September 6, 2007

netstat

A quick blog after a brief hiatus:

While trying to debug random lockups of our Oracle database server, I found a cool command to monitor the connections being served by a machine.

I already knew about netstat and netstat -c which gives the user a continuous display of the connections.

But I found another way to view the connections in real time using the watch command:

watch -d "netstat -toupe 2>/dev/null"
Pretty cool!!

1 comment:

raynnowui21 said...

Spot on with this write-up, I truly think this web site wants way more consideration. I’ll in all probability be again to read far more, thanks for that info. gsn casino games