Find out a process that holding the socket?
Stephen P. Carrier
carrier@berkeley.edu
Tue Aug 23 16:08:52 GMT 2022
The 'handle' utility from Sysinternals should be able to help.
http://technet.microsoft.com/en-us/sysinternals/bb842062
--Stephen Carrier
BEAR Center
On Mon, Aug 22, 2022 at 9:35 AM Andrey Repin <anrdaemon@yandex.ru> wrote:
> Greetings, All!
>
> I'm trying to write a small helper utility, and I need to find out, which
> process is holding a particular socket open.
> Since there's no "lsof" utility in Cygwin, which is commonly suggested for
> this task on Linux, I'm failing to find an alternative.
> Is there a simple solution available or I have to dig down into WinAPI?
> The process is going to run elevated, if that matters.
>
>
> --
> With best regards,
> Andrey Repin
> Monday, August 22, 2022 19:15:48
>
> Sorry for my terrible english...
>
>
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
>
More information about the Cygwin
mailing list