Hello,

I'm writing a system admin script in python that checks recently
accessed files for keywords like "failed, denied, error,..." etc.  I'm
using popen to call grep -F <LIST> <LOG_FILE> but it's VERY slow.  Can
anyone suggest a faster method to do this?

Thanks,

John Purser
Ubuntu Linux
Python 2.4

-- 
Courage is your greatest present need.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to