Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2008 16:52:55 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Eduardo Meyer <dudu.meyer@gmail.com>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: Script-friendly (parseble) ps(1) output?
Message-ID:  <1550A31A-6ECB-46F4-8138-7A46AC093A7F@mac.com>
In-Reply-To: <d3ea75b30810291502h716ae979r9906a7a053ec5f56@mail.gmail.com>
References:  <d3ea75b30810291502h716ae979r9906a7a053ec5f56@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1550A31A-6ECB-46F4-8138-7A46AC093A7F>