Re: speaking of SysV scripts - kill

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Kevin
Datum:  
To: PLUG-DISCUSS
Betreff: Re: speaking of SysV scripts - kill
On Tue, 2005-01-25 at 10:07 -0700, Craig White wrote:
> On Mon, 2005-01-24 at 20:13 -0700, Craig White wrote:
> if I want to kill a running process, I need to find it and kill it.
>
> /bin/ps aux|grep relaydelay|cut -c9-14|/usr/bin/xargs -n 1 /bin/kill -15
>
> seems to work for locating a process in ps and sending it a kill -15
>
> Is there a better way?


How about `pkill -15 relaydelay`?

...Kevin
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss