This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running tasklist /m in cygwin hangs

Greetings, Marco Atzeri!

>>>> I can confirm it still hangs for me with 1.7.35. I am using the 32 bit (i686) Cygwin which is the only difference from Andrey's.
>>> on  $ uname -vrsm
>>> CYGWIN_NT-6.1-WOW 1.7.35(0.287/5/3) 2015-03-04 12:07 i686
>>> It is only a bit slow (both mintty and console)
>>> $ time tasklist /m normaliz.DLL
>>> real    1m25.565s
>> Oh... wow...
>> real    0m0.088s
>> [x].[x]
>>> user    0m0.015s
>>> sys     0m0.046s
>>> It seems some type of timeout in the interaction of this
>>> windows utility and cygwin
>> Was it native console or pty ?

> on 32bit cygwin on 64bit W7
> cmd+bash and mintty+bash have the same long time.

> As the effect is around 10 sec per line and "tasklist.exe" is looking
> which process is using a certain dll, I presume that there is a negative
> interactions (timeout, double sleep ?).

> cmd alone or 64 bit cygwin has no delay effect.

> However on 64bit you can compare


> /cygdrive/c/windows/SysWOW64/tasklist.exe /m normaliz.dll
> /cygdrive/c/windows/System32/tasklist.exe /m normaliz.dll

> timing ;-)

It isn't as slow as yours, but definitely slow.

$ time /c/windows/System32/tasklist.exe /m normaliz.dll | iconv -f CP866
real    0m0.093s
user    0m0.015s
sys     0m0.030s

$ time /c/windows/SysWOW64/tasklist.exe /m normaliz.dll | iconv -f CP866
real    0m15.560s
user    0m0.000s
sys     0m0.045s

With best regards,
Andrey Repin
Saturday, April 18, 2015 17:42:41

Sorry for my terrible english...

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]