users@grizzly.java.net

Re: Selector / handle in windows vista

From: Harsha Godugu <Harsha.Godugu_at_Sun.COM>
Date: Fri, 07 Mar 2008 13:16:13 -0800

Simon Trudeau wrote:
>
> Sorry I couldn't be more precise, Jean-François wanted to know about
> my number of selectors and was giving me as reference the unix command:
>
>
>
> % unlimit --l
>
>
>
> So I would like to know the windows vista equivalent so I can give him
> his answer.
>
I don't know about -l option for ulimit. If you are trying to set a
limit on number of file handles, you need to get into the windows
registry. There is no direct command to do this, afaik on windows. If
you are trying to know 'all the open sockets' on a given win32 system,
then one way is to check with netstat and the other choice is to use a
win32 utility like netmon , process explorer etc..

hths,
-hg
>
>
>
> Thanks,
>
>
>
> Simon*/./*
>
> ------------------------------------------------------------------------
>
> *From:* Harsha.Godugu_at_Sun.COM [mailto:Harsha.Godugu_at_Sun.COM]
> *Sent:* March-07-08 3:20 PM
> *To:* users_at_grizzly.dev.java.net
> *Subject:* Re: Selector / handle in windows vista
>
>
>
> Simon Trudeau wrote:
>
> Does anyone know how to get the number of selector / socket handle in
> windows vista? Google is not very generous today and doesn't want to
> tell me...
>
>
>
> Simon
>
>
>
> Would you pl. make it a bit more clear on the question... ? Did you
> mean nio selector or Grizzly's selector handler ? Since both are on
> Java, what does this got to do with Vista?
> ..going in circles ;-)
>
> -hg
>