On Tue, 17 Oct 2006 22:31:25 +1300
Nick Rout <[EMAIL PROTECTED]> wrote:

> On Tuesday 17 October 2006 22:15, Don Gould wrote:
> > How do I kill all imap jobs at once?
> >
> > I know how to list them all...
> > [EMAIL PROTECTED] ~]# ps -A | grep imap
> > 31089 ?        00:04:42 imap-login
> > 16572 ?        00:04:10 imap-login
> > 24611 ?        00:04:00 imap-login
> > 28538 ?        00:03:38 imap-login
> > 20451 ?        00:03:16 imap-login
> >   9460 ?        00:00:00 imap-login
> > 22314 ?        00:00:00 imap-login
> > 22462 ?        00:00:00 imap
> > 22463 ?        00:00:00 imap
> > 23990 ?        00:00:00 imap
> > 24081 ?        00:00:00 imap-login
> >
> > I just don't know how to filter the output so I can kill the lot in one
> > hit.
> >
> > Cheers Don
> 
> does
> 
> killall imap*
> 
> work?

In this case, I'd use the proper scripts in /etc/init.d.

Reply via email to