From owner-freebsd-current@FreeBSD.ORG Fri Apr 25 22:45:36 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 348D937B401 for ; Fri, 25 Apr 2003 22:45:36 -0700 (PDT) Received: from web41311.mail.yahoo.com (web41311.mail.yahoo.com [66.218.93.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B4F043FD7 for ; Fri, 25 Apr 2003 22:45:35 -0700 (PDT) (envelope-from ron_chen_123@yahoo.com) Message-ID: <20030426054535.4758.qmail@web41311.mail.yahoo.com> Received: from [65.49.82.57] by web41311.mail.yahoo.com via HTTP; Fri, 25 Apr 2003 22:45:35 PDT Date: Fri, 25 Apr 2003 22:45:35 -0700 (PDT) From: Ron Chen To: freebsd-hackers@freebsd.org, current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: GridEngine: getting process information on FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2003 05:45:36 -0000 Hi, Is there a way to get detail process information? I would like to get the information from user space because a user found that SGE (an opensource distributed batch system) only does accounting for the parent process in a job on FreeBSD, but he would also like to get the child processes information. I looked at the code and found that for other platforms, SGE calls system specific functions to get information for all processes running on the system. Since SGE was recently ported, no one has enabled the code on FreeBSD yet. What I am looking for is like /proc//stat on Linux, which gives a lot of information about the process, including the ppid, gid, sid, child user time, memory usage, etc. BTW, the project homepage is: http://gridengine.sunsource.net -Ron __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com