This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ps | grep hangs intermittently
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 29 Jan 2014 22:42:14 -0500
- Subject: Re: ps | grep hangs intermittently
- Authentication-results: sourceware.org; auth=none
- References: <CAAXzdLVHvw0wgY0Et-LwWwwCd3Ds+yQLq7V6OF3sEbCc+r9wEw at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
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