S004logErrorCheck

Author(s)


Written in

kornshell scripting language


Short Desription

Script constists of two parts - at first copies all install and system logs into specific dir and afterwards in second part, it checks if these logs contain words such as "error", "fail", "fatal" or "warning"

paths of copied logs
/var/sadm/install/contents
/var/sadm/system/logs/*
/var/sadm/system/data/*
/etc/default
/etc/release/init
/var/log/sysidconfig.log
/var/log/syslog
/usr/sbin/ifconfig -a
locale -a
/var/sadm/install/logs/*


Additional requirements

no additiaonal requirements are needed

Test output & log files

There are two results for each separate part

  • PASSED – all log files are copied successfuly, no errors contained in system logs
  • FAILED – logs are not in given directories, system logs contain errors

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact