[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: killall again
On Tue, Feb 08, 2000 at 04:55:09PM -0600, John Kerbawy wrote:
> | I know I've seen posts on this before belittling killall, however, I really
> | do find it saves me the work (that the machine should be doing) of grepping
> | ps, and killing individual processes.
>
> kill -9 `ps aux | grep tail | grep -v grep | awk ' { print $2 } '`
Which doesn't support killall -HUP inetd, or similar things. Clearly, if
it's going to be done, do it right.
Ian: I doubt it would be incorporated into the base OS, but it
would clearly be something useful to have in the ports tree. Write
it, post about it, let some people test it, and submit a port.
--
David Terrell | But remember that "layman" is just a polite
dbt@meat.net | word for "idiot."
http://wwwn.nebcorp.com/ | - Neal Stephenson