I would use netstat and these following switches [-a] [-e] [-n] [-o] [-s] [-p proto] [-r] [interval] for more information check out this tutorial
http://www.antionline.com/showthread...hreadid=248317