Re:Distributed grep client in Go
by tsenart on Wednesday October 09, 2013 @05:53AM
(#6520304)
Without the context of why this was developed, I have to agree with easytiger's point of pointlessness.
Perhaps it was just an exercise in curiosity and exploration of the language.
If not, I would use pdsh instead http://sourceforge.net/projects/pdsh/
$ pdsh -b -w '10.0.0.1,...,10.0.0.n' 'cat /var/log/your_log | grep "your_pattern"'
[ Parent
| on HN ]
Yea i dont mind things like this being posted, but some context would be good. It seems to present itself like a serious tool which might dupe some inexperienced people.
I was not intending to confuse people. This is the first time I posted something on hn. I will give more context when I post something next time. Thanks!
no worries. HN does have quite a big love affair with go.
How long have you been writing in it? I have an idea for autility id like to implement in it for a bit of fun.