public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Running tasklist /m in cygwin hangs
Date: Sat, 18 Apr 2015 04:30:00 -0000	[thread overview]
Message-ID: <5531DDE7.2050007@gmail.com> (raw)
In-Reply-To: <1688389853.20150418020511@yandex.ru>

On 4/18/2015 1:05 AM, Andrey Repin wrote:
> 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
>
>> Image Name                     PID Modules
>> ========================= ========
>> ============================================
>> ZenworksWindowsService.ex     1424 normaliz.dll
>> AppleMobileDeviceService.     1616 normaliz.dll
>> explorer.exe                  2520 normaliz.dll
>> PanGPS.exe                    3276 normaliz.dll
>> PanGPA.exe                    3420 normaliz.dll
>> iTunesHelper.exe              3544 normaliz.dll
>> Smc.exe                       5008 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

/cygdrive/c/windows/SysWOW64/tasklist.exe /m normaliz.dll
/cygdrive/c/windows/System32/tasklist.exe /m normaliz.dll

timing ;-)

Regards
Marco

--
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

  reply	other threads:[~2015-04-18  4:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <DUB123-W4750825E1B5751A9A8C87DB1E50@phx.gbl>
2015-04-15 17:52 ` Saurabh T
2015-04-15 19:20   ` Andrey Repin
2015-04-17 15:23     ` Saurabh T
2015-04-17 16:06       ` Marco Atzeri
2015-04-17 23:20         ` Andrey Repin
2015-04-18  4:30           ` Marco Atzeri [this message]
2015-04-18 14:50             ` Andrey Repin
2015-04-18  2:12   ` Bryan Berns

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5531DDE7.2050007@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).