Re: [Hampshire] constantly flickering LEDs on router: Solved…

Top Page
Author: Andy Smith
Date:  
To: hampshire
Subject: Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x5830e100.hantslug.org.uk.24648': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon May 18 18:08:22 2009 BST
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hi Victor,

On Mon, May 18, 2009 at 10:35:43AM +0100, Victor Churchill wrote:
> I have had to do such things that many times that I came up with a one liner :
>
> ps -eafw | grep morituri | awk '{print $2}' | xargs kill
>
> Disclaimers:
> Different people have different favourite 'ps' invocations embedded in
> their finger memories. The above is mine.
> A purist would say there should be a 'grep -v grep |' in the pipeline
> as well. A /real/ purist would say there shouldn't and that there
> should be one grep with a regex.


Someone else would use pkill instead of the lot of it. ;)

Cheers,
Andy

--
http://bitfolk.com/ -- No-nonsense VPS hosting

"If you only ever read one book in your life, I highly recommend you keep your
mouth shut." -- The League Against Tedium