From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 19 15:07:52 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21C4A1065700 for ; Thu, 19 Nov 2009 15:07:52 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id D2E0E8FC1E for ; Thu, 19 Nov 2009 15:07:51 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id D75E06D41B; Thu, 19 Nov 2009 15:07:50 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 79E1184438; Thu, 19 Nov 2009 16:07:50 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Koffie Yahoo References: <9cb658f10911190214j5a6bc17fq200a82ea0b4acaa8@mail.gmail.com> <86ocmy63ww.fsf@ds4.des.no> <9cb658f10911190652j555e4484u2427d2bed87871f8@mail.gmail.com> Date: Thu, 19 Nov 2009 16:07:50 +0100 In-Reply-To: <9cb658f10911190652j555e4484u2427d2bed87871f8@mail.gmail.com> (Koffie Yahoo's message of "Thu, 19 Nov 2009 15:52:27 +0100") Message-ID: <86r5ru3649.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org Subject: Re: Getting running time of child X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 15:07:52 -0000 Koffie Yahoo writes: > Unfortunately, that only works for children that have terminated, not > for active children. I'm interested in active children. Hmm, we could probably add a ptrace(2) operation, but ptrace(2) is inherently evil. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no