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: 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=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: References: Date: Fri, 17 Apr 2015 22:12:27 -0400 Message-ID: Subject: Re: Running tasklist /m in cygwin hangs From: Bryan Berns To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Wed, Apr 15, 2015 at 1:52 PM, Saurabh T 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