netstat -n |grep EST |wc -l If that's too much overhead, steal from the netstat source.
On Thu, Dec 05, 2002 at 04:18:54PM -0800, randall ehren wrote: > is there a simple way to measure the amount of concurrent network (tcp) > connections to a freebsd host? -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message