Hi Dears,
I am using AWK script to monitor some log files. My awk will get the input from the output of tail -f LOGFILE. (tail -f LOGFILE | myawkanalyzer)
My doubt is, How can I notify, if I didn't get any output from the tail -f command. i.e) Log file stuck for some reason. I want to display some alert message as "Log file stuck. blah blah"...
I hope my message is clear. Please excuse me if the info is not clear.
Regards,
Sharif.