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

On 4/18/2015 1:05 AM, Andrey Repin wrote:
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

Image Name                     PID Modules
========================= ========
ZenworksWindowsService.ex     1424 normaliz.dll
AppleMobileDeviceService.     1616 normaliz.dll
explorer.exe                  2520 normaliz.dll
PanGPS.exe                    3276 normaliz.dll
PanGPA.exe                    3420 normaliz.dll
iTunesHelper.exe              3544 normaliz.dll
Smc.exe                       5008 normaliz.dll

real    1m25.565s

Oh... wow...

real    0m0.088s


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 ;-)


Problem reports:
Unsubscribe info:

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