Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-19 Thread Simon Reap
Andy Smith wrote: Oh yes, definitely. For example I find myself doing multiple file renames in a shell script even though almost every system comes with a rename script/command these days. That's the important bit: *almost* every system has these commands and fixes. It's good to know

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Victor Churchill
2009/5/17 hants...@googlemail.com  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

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Andy Smith
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

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Daniel Pope
Andy Smith wrote: Someone else would use pkill instead of the lot of it. ;) I use killall. What's the difference? Dan -- Please post to: Hampshire@mailman.lug.org.uk Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire LUG URL: http://www.hantslug.org.uk

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Victor Churchill
2009/5/18 Daniel Pope ma...@mauveweb.co.uk: Andy Smith wrote: Someone else would use pkill instead of the lot of it. ;) I use killall. What's the difference? More than one way to do it I suppose. Just looking over the man page there looks like some overlap and some distinct features on each

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Steve Kemp
On Mon May 18, 2009 at 19:08:07 +0100, Daniel Pope wrote: Someone else would use pkill instead of the lot of it. ;) I use killall. What's the difference? On Solaris pkill does what you want, if it is available. On Solaris killall kills *all* processes. That's the kind of mistake you

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Daniel Pope
Steve Kemp wrote: That's the kind of mistake you only make once .. So that's why the manpage says Be warned that typing killall _name_ may not have the desired effect on non-Linux systems, especially when done by a privileged user.! Dan -- Please post to: Hampshire@mailman.lug.org.uk

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-18 Thread Andy Smith
Hello, On Mon, May 18, 2009 at 07:34:30PM +0100, Victor Churchill wrote: Semi seriously though: I do notice how as new releases come around, if one has come from a previous release there is probably a tendency to stick with the familiar way even if there are new easier ways. Oh yes,

Re: [Hampshire] constantly flickering LEDs on router: Solved - amid blushes

2009-05-17 Thread hantslug
Found this had gone from a dummy address and that is why it hadn't arrived - sorry, Paul. On Sunday 17 May 2009 20:14:31 you wrote: Please tell us a bit about the machine. OS and version. What software you have running. Do you have bittorrent?