X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=e4BqrKlXEFQrnG3v t8tsa4O9PvcTS7id1I5IwtW7EimOcOsFnYEvc2h/UJHvjyQVh98BVQ/hL28lhsta qKevSN/vUz8QD0VLV/hqXeRoNXtqq/XBPy7oX07RmJksmCiDWgzn5coJKkIpklwU FmHGhJc32Imfh6asRVGE8QGztgs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=wpHF7M4WcMFTSGfXMo2hIj WZEZw=; b=y7PuH9I+bBc/JTnNYeu5vBvuQZJJfabTKA14Yx8A4yX+ikrMuB8zeT 43tYW//fWEjppMsoG7wpsQuO5OgYsUxjx/CQpamIQWVC9HqwPPpSGNVjO+b29QeO KIutPYvK222YV7QNkJkCZgCwXlTQe25p7hkbhOSnLMcgYZgYf85Po= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Sat, 18 Apr 2015 17:45:11 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <311297834.20150418174511@yandex.ru> To: Marco Atzeri , cygwin AT cygwin DOT com Subject: Re: Running tasklist /m in cygwin hangs In-Reply-To: <5531DDE7.2050007@gmail.com> References: ,<1649023972 DOT 20150415221557 AT yandex DOT ru> <55312F6B DOT 60007 AT gmail DOT com> <1688389853 DOT 20150418020511 AT yandex DOT ru> <5531DDE7 DOT 2050007 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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