This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Running tasklist /m in cygwin hangs
- From: Bryan Berns <bryan dot berns at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 17 Apr 2015 22:12:27 -0400
- Subject: Re: Running tasklist /m in cygwin hangs
- Authentication-results: sourceware.org; auth=none
- References: <DUB123-W4750825E1B5751A9A8C87DB1E50 at phx dot gbl> <DUB123-W47F773413670D52BA6C788B1E50 at phx dot gbl>
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