From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 16 19:23:33 2011 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 B836F106566B for ; Wed, 16 Mar 2011 19:23:33 +0000 (UTC) (envelope-from tdamas@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1C48FC17 for ; Wed, 16 Mar 2011 19:23:33 +0000 (UTC) Received: by vxc34 with SMTP id 34so2222094vxc.13 for ; Wed, 16 Mar 2011 12:23:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=Lyt3alXPV+JhEhBMR72NxNsZMm47tuUQSjzEM7tsFZs=; b=I6m8bfmtCWK69mAcGXP/eAoJa73gsWdmgTnsSDDp/FYp3ctA2uURnd3pNuMxRlcAST R2VsI59Q1JTdBhYY30opGj1So2VlEpEjosNdxL2Y/Pyozq5Beqv7mxZIfrQawStEOGpC bl9n92GCDLgkSpxQGXBMwTRMoTmb+5IMOUr7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=TA/O8eaHZ5WWvEAYOQymAWPaOVY6pwVPYa0TbZvaDpKvfPY2Y43luqoF0KHFB85/RS bMb+48oN4ksiyAn8J5n+noZXQ0Pk+Uy/0uXFsZ7wMIhmLzKJK0pKwpzypBHw/xey4EKy FTXLEE0NYcSyad+BAyBwv+r7HF/Tt5jt8zpSI= Received: by 10.52.160.38 with SMTP id xh6mr553318vdb.186.1300303412159; Wed, 16 Mar 2011 12:23:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.99.16 with HTTP; Wed, 16 Mar 2011 12:23:12 -0700 (PDT) In-Reply-To: References: <20110316175614.GB44561@dan.emsphone.com> From: Thiago Damas Date: Wed, 16 Mar 2011 16:23:12 -0300 Message-ID: To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: usertime and systime 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: Wed, 16 Mar 2011 19:23:33 -0000 Hi, the patch worked for me, using RELENG_8_2 Very thanks! Thiago 2011/3/16 Dan Nelson : > In the last episode (Mar 16), Thiago Damas said: >> =A0 Hi, >> =A0 without procfs, there is a way to get usertime and systime from a >> running process? > > Try applying the attached patch to ps. =A0I've had it for a while but nev= er > submitted a PR. > > Heh. I've had it for a very long time. > http://lists.freebsd.org/pipermail/freebsd-hackers/2009-March/027918.html > > -- > =A0 =A0 =A0 =A0Dan Nelson > =A0 =A0 =A0 =A0dnelson@allantgroup.com