X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=yf
	zVU3lMHAGFr4ICTO0aQP8kYy0Hb7zITxhmUjgsYGHgiirYtmxj21l61DUG4lRifI
	pHakaIrhhU5KlvsUS0UyPUl6jbvb8rHH45G+pSi3ggyHD4zfZRz5lBKVxv1Mc8BI
	eM+zbdsTtHlU4CJ+FaC4Yl+1Wn30+Oqs6x0pn4A6A=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=LgvrDgq1
	lVMqzb2wDC9HtUGCY6E=; b=cq/dOzVIuEX4VO5r9WNgEnEAIovWw1EiigViNeBW
	OtbODgc7MvMbyDYjF8qPNRDVCIrzWBx/psBHrsEZX5yFc50DJOkpgQ90ZjkSV9Gr
	zVYdmYsSNxZL/KlXlH2rXMlYUI1jYVBHrPfJu9AecHmf+ZNqz6twHsSFe8ceX5GN
	Dec=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-la0-f45.google.com
MIME-Version: 1.0
X-Received: by 10.152.116.102 with SMTP id jv6mr6639910lab.50.1429323147231; Fri, 17 Apr 2015 19:12:27 -0700 (PDT)
In-Reply-To: <DUB123-W47F773413670D52BA6C788B1E50@phx.gbl>
References: <DUB123-W4750825E1B5751A9A8C87DB1E50@phx.gbl>	<DUB123-W47F773413670D52BA6C788B1E50@phx.gbl>
Date: Fri, 17 Apr 2015 22:12:27 -0400
Message-ID: <CADi7v6LSeyVOsKQRmXoUqrUTtWdhC5ACi-Xp_+5Ozs+G_+nkxg@mail.gmail.com>
Subject: Re: Running tasklist /m in cygwin hangs
From: Bryan Berns <bryan.berns@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

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

