From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 12 19:08:30 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C25F16A41F for ; Thu, 12 Jul 2007 19:08:30 +0000 (UTC) (envelope-from mathieu.prevot@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id ED68D13C489 for ; Thu, 12 Jul 2007 19:08:29 +0000 (UTC) (envelope-from mathieu.prevot@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so458540uge for ; Thu, 12 Jul 2007 12:08:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=El2b9Wq7ur35//mxRpHeFfA51WoOZ/ekbBeHXXWH+1o0sXXjyK8bBay9k5SWm8o/9hBPRu/tNufSW1FbSzdpVxs0Fk//9x0836tu9q9yFNSNUQQsr/AXunW/MSYh1SzV644IRWlGwFT0jSMvy68oJZJ/D6aqXQ5JD0RrjpVL5DU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=uEiWWAMiP2wM0U2CHT5cdLOUVQkkXuA9ewgwh3Cwjj8DvN589UDTwInuiGEjuL9YK2rrZmLHv1h6OJPtdXL4SNtNODTG+i1ORYGDEDTpBVfbru072ycGuwivS4LtoCyIHaqOLUkG+Pk8gqJlnO7lsgtm8hPwYWGstyli86Mmf0M= Received: by 10.82.175.17 with SMTP id x17mr975436bue.1184265685819; Thu, 12 Jul 2007 11:41:25 -0700 (PDT) Received: by 10.82.117.14 with HTTP; Thu, 12 Jul 2007 11:41:25 -0700 (PDT) Message-ID: <3e473cc60707121141x20e7088cv13ff409d71e310dd@mail.gmail.com> Date: Thu, 12 Jul 2007 20:41:25 +0200 From: "Mathieu Prevot" To: "Joseph Koshy" , freebsd-hackers@freebsd.org, "FreeBSD SoC admins" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: get active processes in python 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, 12 Jul 2007 19:08:30 -0000 Hello, do you recommend a method to get active processes in a python script, as with "ps" or "top" in order to put the result into a list ? (python package, shell call...) Mathieu