WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Search error message more efficient

    Posted 03/19/13 02:32 PM
    Hi,

    Being a WAS admin, it is quite often get request from client to find out the root cause why a server was down or why a wsadmin batch job failed, to provide feedback rapidly, I worked out a script below to help search some keywords from log files to speed up error message searching.

          find folder -name *.log | xargs grep -i error
    Or 
          find folder -name *.log | xargs grep -i exception

    Then search above returns based on date/time.

    It works fine so far.

    Questions here are:

    1. Is there any other keywords should I search besides 'error' or 'exception'?
    2. Can please share your way of error message searching? I know it is very individual and each veteran must have his own way of doing this.

    Thanks,
    Eric




  • 2.  Search error message more efficient

    Posted 03/21/13 01:50 PM

    Thanks Ralph,

    Do agree, "hung", "OutOfMemory" and "time out" are often appeared words, this morning I found out one more "failed".

    Cheers
    Eric