From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 00:53:21 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D127A106578C for ; Thu, 30 Oct 2008 00:53:21 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id BC41B8FC19 for ; Thu, 30 Oct 2008 00:53:21 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K9I008BNYC7G510@asmtp020.mac.com> for questions@freebsd.org; Wed, 29 Oct 2008 16:52:56 -0700 (PDT) Message-id: <1550A31A-6ECB-46F4-8138-7A46AC093A7F@mac.com> From: Chuck Swiger To: Eduardo Meyer In-reply-to: Date: Wed, 29 Oct 2008 16:52:55 -0700 References: X-Mailer: Apple Mail (2.929.2) Cc: FreeBSD Questions Subject: Re: Script-friendly (parseble) ps(1) output? 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, 30 Oct 2008 00:53:21 -0000 On Oct 29, 2008, at 3:02 PM, Eduardo Meyer wrote: > I need to write a cgi script which will print the output from ps(1) in > a table (html), so the average-operator can click on a KILL link and > the cgi will send the selected signal. Rather than rolling your own web-based admin tool, why not try something like sysutils/webmin? It's got a "Running Processes" table which lets you send signals like HUP, KILL, etc by clicking a button.... -- -Chuck