From owner-freebsd-questions@FreeBSD.ORG Thu May 7 03:39:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3B051065673 for ; Thu, 7 May 2009 03:39:27 +0000 (UTC) (envelope-from pldrouin@pldrouin.net) Received: from smtp.cyberfingers.net (smtp.cyberfingers.net [198.177.254.227]) by mx1.freebsd.org (Postfix) with ESMTP id 914908FC13 for ; Thu, 7 May 2009 03:39:27 +0000 (UTC) (envelope-from pldrouin@pldrouin.net) Received: from [192.168.1.107] (CPE0013d492bb35-CM001a666aca96.cpe.net.cable.rogers.com [99.246.66.237]) by smtp.cyberfingers.net (Postfix) with ESMTP id 93306AB6C14 for ; Wed, 6 May 2009 23:20:57 -0400 (EDT) Message-ID: <4A025398.8000303@pldrouin.net> Date: Wed, 06 May 2009 23:20:56 -0400 From: Pierre-Luc Drouin User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: How to get the user time of another running process on FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 03:39:27 -0000 Hi, I would like to know how I can get the user time of another running process on FreeBSD? Ideally I would like to find a solution that would work as well on other *nix systems. So far the solutions I have found are specific to a given OS (format of proc filesystem, lock_getcpuclockid)... Thank you! Pierre-Luc Drouin