This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ps | grep hangs intermittently


On Wed, Jan 29, 2014 at 09:30:28PM -0600, Steven Penny wrote:
>I can run "ps | grep" and it will run smooth
>
>    $ time ps | grep bash
>         2312    1908    3252       2312  cons0   1000 21:20:11 /usr/bin/bash
>
>    real    0m0.031s
>    user    0m0.015s
>    sys     0m0.030s
>
>and then other times it will hang
>
>    $ time ps | grep bash
>         3144    1908       0       3144  pty0    1000   Dec 31 /usr/bin/bash
>         1908       1    1908       1908  cons0   1000 21:20:04 /usr/bin/bash
>
>    real    0m11.189s
>    user    0m0.015s
>    sys     0m0.015s
>
>What is causing this?

http://cygwin.com/ml/cygwin/2013-12/threads.html#00262

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]