Search Results

Search: Posts Made By: djanu
3,445
Posted By djanu
Thank you! Perl script works. I have one more...
Thank you! Perl script works. I have one more question:

1. What if I had a file errorcodes.txt with a list of multiple error codes:

error-5
error-4
error-3
error-800

Can Perl script count...
3,445
Posted By djanu
Count number of errors within logs for last 6 months
I have directory /test/logs which has multiple logs:

audit.log
audit.log.1
audit.log.2
audit.log.3
audit.log.4
audit.log.5

audit.log is current log file and audit.log.X are archive log...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 02:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy