From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6783 invoked by alias); 13 Jul 2012 16:17:13 -0000 Received: (qmail 6755 invoked by uid 22791); 13 Jul 2012 16:17:10 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TW_XW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx.meyering.net (HELO mx.meyering.net) (88.168.87.75) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Jul 2012 16:16:40 +0000 Received: from rho.meyering.net (rho.meyering.net [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id C1A4F617B5; Fri, 13 Jul 2012 18:16:38 +0200 (CEST) From: Jim Meyering To: "Frank Ch. Eigler" Cc: Jason Merrill , overseers@gcc.gnu.org Subject: Re: Multiple cvs/git mirror tasks? In-Reply-To: <87txxbr67m.fsf@rho.meyering.net> (Jim Meyering's message of "Fri, 13 Jul 2012 18:11:57 +0200") References: <50003CD7.8080401@redhat.com> <87bojjsm47.fsf@rho.meyering.net> <20120713155449.GB14467@redhat.com> <87629rsl2y.fsf@rho.meyering.net> <87txxbr67m.fsf@rho.meyering.net> Date: Fri, 13 Jul 2012 16:17:00 -0000 Message-ID: <87obnjr5zt.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: text/plain Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org X-SW-Source: 2012-q3/txt/msg00016.txt.bz2 Jim Meyering wrote: > Jim Meyering wrote: > >> Frank Ch. Eigler wrote: >>> Hi - >>> >>> meyering wrote: >>> >>>> [...] Any idea how we'd get three of each, with each triple starting >>>> at the same minute? >>> >>> There appeared to be a bunch of crond's running for some reason; >>> stopped all but one. >> >> Thanks. I've killed the binutils-related processes and restarted >> one manually. > > How strange. > The run I just started via "bash -x ~/bin/mirror-sw binutils" is now > showing up in ps auxww output as three different processes: > > meyering 32694 0.0 0.0 6352 1020 pts/0 S+ 16:05 0:00 \ > bash -x /home/meyering/bin/mirror-sw binutils > meyering 32704 0.0 0.0 6352 504 pts/0 S+ 16:05 0:00 \ > bash -x /home/meyering/bin/mirror-sw binutils > meyering 32705 0.0 0.0 6352 560 pts/0 S+ 16:05 0:00 \ > bash -x /home/meyering/bin/mirror-sw binutils > > How strange. I suspect it's normal after all, since it's running this: filter_stderr() { # Usage: filter-stderr EGREP_REGEXP 'command' regex=$1 cmd=$2 (exec 3>&1; eval "$cmd" 2>&1 >&3 | grep -E -v "$regex" 1>&2) } ... filter_stderr "$mirror_re" "$mirror_cmd" and ps is just showing the eval'd subshell and filter-running processes with the name of the parent.