Script-friendly (parseble) ps(1) output?

Chuck Swiger cswiger at mac.com
Wed Oct 29 17:53:21 PDT 2008


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



More information about the freebsd-questions mailing list