Performance issue while using find command

view story

http://www.unix.com – Hi, I have created a shell script for Server Log Automation Process. I have used find xargs grep command to search the string. for Example, Code: find -name | xargs grep "816995225" > test.txt . Here my problem is, We have lot of records and we want to grep the string 4-5 times. so, it takes around 20 mins to finish the process. so, how to search the string fastly using find xargs command Please Suggest me. Regards, Nanthagopal A (HowTos)