* RE: Running tasklist /m in cygwin hangs
[not found] <DUB123-W4750825E1B5751A9A8C87DB1E50@phx.gbl>
@ 2015-04-15 17:52 ` Saurabh T
2015-04-15 19:20 ` Andrey Repin
2015-04-18 2:12 ` Bryan Berns
0 siblings, 2 replies; 8+ messages in thread
From: Saurabh T @ 2015-04-15 17:52 UTC (permalink / raw)
To: Cygwin
Hi,
Running
"tasklist /m file.dll" hangs in Cygwin even though it works perfectly
fine in the cmd window. Is there any reason for this? I am using a
somewhat older cygwin (1.7.25) on a Windows 7 box, and do not want to
upgrade unless newer cygwin doesnt show the problem. Thank you.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running tasklist /m in cygwin hangs
2015-04-15 17:52 ` Running tasklist /m in cygwin hangs Saurabh T
@ 2015-04-15 19:20 ` Andrey Repin
2015-04-17 15:23 ` Saurabh T
2015-04-18 2:12 ` Bryan Berns
1 sibling, 1 reply; 8+ messages in thread
From: Andrey Repin @ 2015-04-15 19:20 UTC (permalink / raw)
To: Saurabh T, cygwin
Greetings, Saurabh T!
> Running
> "tasklist /m file.dll" hangs in Cygwin
First, mintty (I assume you did mean that) is not "Cygwin" itself.
> even though it works perfectly fine in the cmd window.
I hope you did mean native console by that.
> Is there any reason for this? I am using a
> somewhat older cygwin (1.7.25) on a Windows 7 box, and do not want to
> upgrade unless newer cygwin doesnt show the problem. Thank you.
$ tasklist /m normaliz.DLL | iconv -f CP866
Имя образа PID Модули
========================= ======== ============================================
taskhost.exe 3492 normaliz.DLL
litestep.exe 2172 normaliz.DLL
spideragent.exe 3336 normaliz.DLL
Results are the same if running in mintty or native console.
No hangs can be seen from my side.
CYGWIN_NT-6.1 daemon2 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin
CYGWIN_NT-6.1 daemon2 2.0.0(0.287/5/3) 2015-04-15 17:39 x86_64 Cygwin
--
With best regards,
Andrey Repin
Wednesday, April 15, 2015 22:07:13
Sorry for my terrible english...
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: Running tasklist /m in cygwin hangs
2015-04-15 19:20 ` Andrey Repin
@ 2015-04-17 15:23 ` Saurabh T
2015-04-17 16:06 ` Marco Atzeri
0 siblings, 1 reply; 8+ messages in thread
From: Saurabh T @ 2015-04-17 15:23 UTC (permalink / raw)
To: Cygwin
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.
----------------------------------------
> Date: Wed, 15 Apr 2015 22:15:57 +0300
> From: anrdaemon@yandex.ru
> To: saurabh@hotmail.com; cygwin@cygwin.com
> Subject: Re: Running tasklist /m in cygwin hangs
>
> Greetings, Saurabh T!
>
>> Running
>> "tasklist /m file.dll" hangs in Cygwin
>
> First, mintty (I assume you did mean that) is not "Cygwin" itself.
>
>> even though it works perfectly fine in the cmd window.
>
> I hope you did mean native console by that.
>
>> Is there any reason for this? I am using a
>> somewhat older cygwin (1.7.25) on a Windows 7 box, and do not want to
>> upgrade unless newer cygwin doesnt show the problem. Thank you.
>
> $ tasklist /m normaliz.DLL | iconv -f CP866
>
> Имя образа PID Модули
> ========================= ======== ============================================
> taskhost.exe 3492 normaliz.DLL
> litestep.exe 2172 normaliz.DLL
> spideragent.exe 3336 normaliz.DLL
>
> Results are the same if running in mintty or native console.
> No hangs can be seen from my side.
> CYGWIN_NT-6.1 daemon2 1.7.35(0.287/5/3) 2015-03-04 12:09 x86_64 Cygwin
> CYGWIN_NT-6.1 daemon2 2.0.0(0.287/5/3) 2015-04-15 17:39 x86_64 Cygwin
>
>
> --
> With best regards,
> Andrey Repin
> Wednesday, April 15, 2015 22:07:13
>
> Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running tasklist /m in cygwin hangs
2015-04-17 15:23 ` Saurabh T
@ 2015-04-17 16:06 ` Marco Atzeri
2015-04-17 23:20 ` Andrey Repin
0 siblings, 1 reply; 8+ messages in thread
From: Marco Atzeri @ 2015-04-17 16:06 UTC (permalink / raw)
To: cygwin
On 4/17/2015 5:23 PM, Saurabh T wrote:
> 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
user 0m0.015s
sys 0m0.046s
It seems some type of timeout in the interaction of this
windows utility and cygwin
Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running tasklist /m in cygwin hangs
2015-04-17 16:06 ` Marco Atzeri
@ 2015-04-17 23:20 ` Andrey Repin
2015-04-18 4:30 ` Marco Atzeri
0 siblings, 1 reply; 8+ messages in thread
From: Andrey Repin @ 2015-04-17 23:20 UTC (permalink / raw)
To: Marco Atzeri, cygwin
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
[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 ?
--
With best regards,
Andrey Repin
Saturday, April 18, 2015 02:02:39
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running tasklist /m in cygwin hangs
2015-04-15 17:52 ` Running tasklist /m in cygwin hangs Saurabh T
2015-04-15 19:20 ` Andrey Repin
@ 2015-04-18 2:12 ` Bryan Berns
1 sibling, 0 replies; 8+ messages in thread
From: Bryan Berns @ 2015-04-18 2:12 UTC (permalink / raw)
To: cygwin
On Wed, Apr 15, 2015 at 1:52 PM, Saurabh T <saurabh@hotmail.com> wrote:
> Hi,
> Running
> "tasklist /m file.dll" hangs in Cygwin even though it works perfectly
> fine in the cmd window. Is there any reason for this? I am using a
> somewhat older cygwin (1.7.25) on a Windows 7 box, and do not want to
> upgrade unless newer cygwin doesnt show the problem. Thank you.
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>
It doesn't hang for me, but it is significantly slower. I'm running
the latest development release. Tasklist appears to be WMI heavy. I
ran Process Monitor and it appears that when running tasklist /m under
bash, WMI is significantly more active. WMI actually opens tzres.dll
(Time Zone Resources) about 150,000 times vice a mere 800 times when
executing through a standard command prompt. Moreover, WMI really
doesn't appear to be doing much of anything with tzres.dll... just
open/close/open/close/open/close. Very curious indeed.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running tasklist /m in cygwin hangs
2015-04-17 23:20 ` Andrey Repin
@ 2015-04-18 4:30 ` Marco Atzeri
2015-04-18 14:50 ` Andrey Repin
0 siblings, 1 reply; 8+ messages in thread
From: Marco Atzeri @ 2015-04-18 4:30 UTC (permalink / raw)
To: cygwin
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
>
> [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 ;-)
Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Running tasklist /m in cygwin hangs
2015-04-18 4:30 ` Marco Atzeri
@ 2015-04-18 14:50 ` Andrey Repin
0 siblings, 0 replies; 8+ messages in thread
From: Andrey Repin @ 2015-04-18 14:50 UTC (permalink / raw)
To: Marco Atzeri, cygwin
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
True.
> /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
...skip...
real 0m0.093s
user 0m0.015s
sys 0m0.030s
$ time /c/windows/SysWOW64/tasklist.exe /m normaliz.dll | iconv -f CP866
...skip...
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: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-04-18 14:50 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <DUB123-W4750825E1B5751A9A8C87DB1E50@phx.gbl>
2015-04-15 17:52 ` Running tasklist /m in cygwin hangs Saurabh T
2015-04-15 19:20 ` Andrey Repin
2015-04-17 15:23 ` Saurabh T
2015-04-17 16:06 ` Marco Atzeri
2015-04-17 23:20 ` Andrey Repin
2015-04-18 4:30 ` Marco Atzeri
2015-04-18 14:50 ` Andrey Repin
2015-04-18 2:12 ` Bryan Berns
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).