delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/17/22:12:51

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: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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=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 AT phx DOT gbl> <DUB123-W47F773413670D52BA6C788B1E50 AT phx DOT 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 DOT berns AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Wed, Apr 15, 2015 at 1:52 PM, Saurabh T <saurabh AT hotmail DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019