Check error in log file

November 13, 2012 at 05:45:41
Specs: Unix Solaris

I have a log file which needs to be checked every 15mins for error.
If the number of error is more than 5 times in given 15mins it should alert.

See More: Check error in log file

Report •


#1
November 14, 2012 at 07:17:09

What have you got so far for a script and what part of it isn't working? Copy and paste it in here and show us what isn't working.

It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.

***William Henley***


Report •

#2
November 14, 2012 at 07:51:22

Curt is right; you'll probably get more help if you post code and an example of your log with a spec with more details.

This link is an example on how you might cycle thru a file:

http://www.computing.net/answers/un...


Report •

Related Solutions


Ask Question