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:

Silvia Jacinto said...

I love your blog. Keep it up.Visit my site too.

n8fan.net

www.n8fan.net