Hi,
We have a server which actively receives large number of TCP connections. Normal check (netstat) on number of connections takes about at least 20Sec. We would like to find a much faster way to do this.
Any help or hint is highly appreciated.
Thank you.
Faster way to count TCP connections
Re: Faster way to count TCP connections
The following runs very fast on my test box:
Code: Select all
netstat -t | wc -lFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.