Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Don Gould
or perhaps it never occured to just kill devcot Nick Rout wrote: On 10/17/2006, "Steve Holdoway" <[EMAIL PROTECTED]> wrote: In this case, I'd use the proper scripts in /etc/init.d. so would I, perhaps Don has his own method of starting his imap daemon. Perhaps he is rewriting the SysV init

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Nick Rout
On 10/17/2006, "Steve Holdoway" <[EMAIL PROTECTED]> wrote: >In this case, I'd use the proper scripts in /etc/init.d. so would I, perhaps Don has his own method of starting his imap daemon. Perhaps he is rewriting the SysV init system.

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Steve Holdoway
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

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Carl Cerecke
On 17/10/06, Christopher Sawtell <[EMAIL PROTECTED]> wrote: apropos is a very useful command. If you can remember how to spell it. Carl.

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Hadley Rich
On Tuesday 17 October 2006 23:22, Christopher Sawtell wrote: > I think killall or rehaps pkill is the one you want. Ah yes, pkill, I forgot about that one. Much better idea. hads -- http://nicegear.co.nz New Zealand's VoIP Supplier

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Christopher Sawtell
On Tuesday 17 October 2006 23:09, Don Gould wrote: > I also wanted to know how to kill a bunch of process with one command [EMAIL PROTECTED] ~ $ apropos kill XKillClient [XSetCloseDownMode] (3x) - control clients kill (1) - send a signal to a process kill (1p) - t

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Don Gould
Hadley Rich wrote: There is probably a better way of doing what you are trying to do (/etc/init.d/imapd stop ?). Why do you want to blatantly kill off all your IMAP processes? Slow server... ps -A, spotted heaps of imap sessions, killed all imap clients... still heaps, kill all :) Serve

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Hadley Rich
On Tuesday 17 October 2006 22:44, Don Gould wrote: > That was closer. I think I see what you're doing, I'll have to man cut > now to understand it Indeed. > [EMAIL PROTECTED] ~]# ps -A | grep imap > 31089 ?00:04:42 imap-login > 16572 ?00:04:10 imap-login > 24611 ?00:04:00

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Don Gould
That was closer. I think I see what you're doing, I'll have to man cut now to understand it [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:1

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Don Gould
No. killall imap* doesn't work. [EMAIL PROTECTED] ~]# killall imap* imap*: no process killed [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

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Hadley Rich
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:0

Re: How to: Kill all jobs with 'imap'?

2006-10-17 Thread Nick Rout
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:0

How to: Kill all jobs with 'imap'?

2006-10-17 Thread Don Gould
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 ?