delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/29/22:30:48

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:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=aBWsc1bjUX8fSLfEBRhfFFW0s4wSf
xjOx3ySaoRpD61eFh5jpq16ZYY+HomnNyBKBS/xPxzxNTWRI+o7wDj9Tj82GHtL4
Vliqq3lhlSkFgdLhBfc158Y1gQgrJkIklHfuS1txTeNk0DL1Xum9P5coHrEUDxMW
wZTMcxo9zEhnMI=
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:date:message-id:subject:from:to
:content-type; s=default; bh=9NkCvmQQBCO7QvpDii52LsQ6z58=; b=f/f
ydJMBHn67hJG5ElrvwUEqAq0FEUffLj1BRNuF7b81Z13AOe4rbBiQod/OtCt853l
sMTnXcRfpb0XO7vEGL94YwTj4zN3J6WpOZyC7NDZgW/PSZfiiNgpewaqVFTah64e
jzXPXSAV3PztYl9uFTZM/xxunfcP0PR0cKFRQCxE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-pb0-f52.google.com
MIME-Version: 1.0
X-Received: by 10.66.255.39 with SMTP id an7mr11677388pad.7.1391052628087; Wed, 29 Jan 2014 19:30:28 -0800 (PST)
Date: Wed, 29 Jan 2014 21:30:28 -0600
Message-ID: <CAAXzdLVHvw0wgY0Et-LwWwwCd3Ds+yQLq7V6OF3sEbCc+r9wEw@mail.gmail.com>
Subject: ps | grep hangs intermittently
From: Steven Penny <svnpenn AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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?

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019