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

Top Page

Reply to this message
Author: Victor Churchill
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes
2009/5/17 <hantslug@???>
> ....  ps -A | grep ktorrent followed by
> kill seems to have cured the problem.


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.