Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Optimizing string searchesby johndageek (Hermit) |
on Sep 05, 2008 at 18:50 UTC ( [id://709368]=note: print w/replies, xml ) | Need Help?? |
Rather vague description but perl may be better than os grep.
if files reside on multiple machines - run search on the seperate machines if possible. if files reside on a single machine - process them locally. do not open files across the network.
suggest: assumes: will only parse the log files for these 4 strings. there will be no reason to search the same logfiles again for other strings.
Enjoy!
In Section
Seekers of Perl Wisdom
|
|