users@grizzly.java.net

Re: Selector / handle in windows vista

From: James Mansion <james_at_mansionfamily.plus.com>
Date: Sat, 08 Mar 2008 14:44:33 +0000

Harsha Godugu wrote:
> 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..
Try this:

http://support.microsoft.com/kb/196271 and
http://support.microsoft.com/kb/314053/.

They predate Vista so their applicability might be suspect. This
certainly shows changes: http://support.microsoft.com/kb/929851/en-us

James


.