that helps, thanks.

if this:

netstat -an --inet | grep -c EST
418

that's concurrent connections.

and this:
netstat -an --inet | grep -c TIME_WAIT
7448

are those time_wait connection not active any more?




On Jun 19, 10:24 pm, Arnout Kazemier <[email protected]> wrote:
> If you want to know it inside your node process, you can use the .connections 
> property of the server.
> if you want to know it outside your node process, i usually use `netstat -an 
> | grep -c EST` for counting
> the actual established connections.
>
>
>
>
>
>
>
> On Tuesday, June 19, 2012 at 4:20 PM, Angelo Chen wrote:
> > Hi,
>
> > is there a way to know how many concurrent connections to a http
> > server? I use this from command line:
>
> > netstat -an --inet |wc
>
> > is it a rough estimate of concurrent connections? Thanks,
>
> > Angelo
>
> > --
> > Job Board:http://jobs.nodejs.org/
> > Posting 
> > guidelines:https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> > You received this message because you are subscribed to the Google
> > Groups "nodejs" group.
> > To post to this group, send email to [email protected] 
> > (mailto:[email protected])
> > To unsubscribe from this group, send email to
> > [email protected] 
> > (mailto:[email protected])
> > For more options, visit this group at
> >http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to