Popular Articles
Reasons For and Against Human Cloning
Globalization of the USA
The Pros and Cons of Capital Punishment
World's Stupidest Game
Latest Articles
How to Help Humanity
Why Economists Miss the Mark
Daylight Saving Time
Natural Log Proof
Subscribe to 
Main Menu
HOME
SAVE HUMANITY
(42)
HELP THE WORLD
(96)
IMPROVE GOVERNMENTS
(87)
PERSONAL DEVELOPMENT
(238)
COMPUTER HELP
(125)
ARCHIVE (all articles)
SEARCH THIS SITE
CONTACT US
DISCLAIMER
PLEASE HELP: DONATE
|
ClearCase Support: Automate Checking of ClearCase Server Log Files
On a daily basis, I automatically check all of the ClearCase log files for NEW error and warning messages on each of the ClearCase VOB and Views servers that I am responsible for. I accomplish this by using a simple UNIX Perl script that can be found down below. Here are the two primary features of this script:
- Reports all new error messages in any ClearCase log file, since the last time this script was executed.
- Reports all new warning messages in any ClearCase log file, since the last time this script was executed.
From my experience, I recommend running this script about once a day via cron on each VOB and View server that you have. I also recommend manually running this script when users are reporting server problems.
Here is how to execute this script.
$ check_clearcase_logs.pl
|
You can download this Perl script here, or you can copy-n-paste from here:
This script was written for www.philforhumanity.com.
by Phil B.
|