- Timestamp:
- 02/29/12 13:41:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/datacenter/scripts/checklogs
r8482 r12973 1 #!/bin/ sh1 #!/bin/bash 2 2 # 3 3 # ======================================================================== … … 36 36 if grep WARN $oldprocesslog >/dev/null 37 37 then 38 grep WARN $oldprocesslog | nail -s 'found warnings in '$oldprocesslog $erradrs38 grep WARN $oldprocesslog | mail -s 'found warnings in '$oldprocesslog $erradrs 39 39 fi 40 40 41 41 if grep ERROR $oldprocesslog >/dev/null 42 42 then 43 grep ERROR $oldprocesslog | nail -s 'found errors in '$oldprocesslog $erradrs43 grep ERROR $oldprocesslog | mail -s 'found errors in '$oldprocesslog $erradrs 44 44 fi 45 45
Note:
See TracChangeset
for help on using the changeset viewer.