Select combination unique using shell script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Select combination unique using shell script
# 1  
Old 01-07-2012
Select combination unique using shell script

Hi All,
Code:
bash-3.00$ gzgrep -i '\[STUCK\] ExecuteThread:' /******/******/******/******/stdout.log.txt.gz
[2012-01-07 17:54:55] <Jan 7, 2012 5:54:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '414' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "696" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 17:55:55] <Jan 7, 2012 5:55:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '83' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "611" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 17:55:55] <Jan 7, 2012 5:55:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '387' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "653" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 17:56:55] <Jan 7, 2012 5:56:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '83' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "671" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 17:56:55] <Jan 7, 2012 5:56:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '387' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "713" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:01:55] <Jan 7, 2012 6:01:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '94' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "607" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:01:55] <Jan 7, 2012 6:01:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '230' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "624" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:01:55] <Jan 7, 2012 6:01:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '295' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "600" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:01:55] <Jan 7, 2012 6:01:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '151' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "606" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:02:55] <Jan 7, 2012 6:02:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '94' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "667" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:02:55] <Jan 7, 2012 6:02:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '230' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "684" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:02:55] <Jan 7, 2012 6:02:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '295' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "660" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:02:55] <Jan 7, 2012 6:02:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "658" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:02:55] <Jan 7, 2012 6:02:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '151' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "666" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:02:55] <Jan 7, 2012 6:02:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '348' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "645" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:03:55] <Jan 7, 2012 6:03:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '38' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "718" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:03:55] <Jan 7, 2012 6:03:55 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '348' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "705" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:13:56] <Jan 7, 2012 6:13:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '401' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "621" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:14:56] <Jan 7, 2012 6:14:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '401' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "681" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:15:56] <Jan 7, 2012 6:15:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "601" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:15:56] <Jan 7, 2012 6:15:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '355' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "626" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:15:56] <Jan 7, 2012 6:15:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '226' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "605" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:15:56] <Jan 7, 2012 6:15:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "600" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:15:56] <Jan 7, 2012 6:15:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '348' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "603" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "661" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '355' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "686" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '250' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "642" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '226' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "665" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '139' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "652" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '162' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "645" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '313' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "646" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '310' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "638" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "660" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '399' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "653" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '361' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "657" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '348' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "663" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:16:56] <Jan 7, 2012 6:16:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '44' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "655" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '250' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "702" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '139' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "712" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '162' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "705" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '313' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "707" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '310' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "698" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '399' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "713" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '361' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "718" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:17:56] <Jan 7, 2012 6:17:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '44' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "715" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 18:24:56] <Jan 7, 2012 6:24:56 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '225' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "613" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:03:57] **** Error        <Jan 7, 2012 7:03:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '143' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "608" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:03:57] **** Error        Sat Jan 07 19:03:57 UTC 2012    <Jan 7, 2012 7:03:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '44' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "604" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:04:57] <Jan 7, 2012 7:04:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '140' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "612" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:04:57] <Jan 7, 2012 7:04:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '143' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "668" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:04:57] <Jan 7, 2012 7:04:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '44' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "664" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:05:57] <Jan 7, 2012 7:05:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '140' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "672" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:10:57] <Jan 7, 2012 7:10:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '59' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "635" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:11:57] <Jan 7, 2012 7:11:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '92' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "620" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:11:57] <Jan 7, 2012 7:11:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '312' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "646" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:11:57] <Jan 7, 2012 7:11:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '185' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "619" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:11:57] <Jan 7, 2012 7:11:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '59' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "695" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:12:57] <Jan 7, 2012 7:12:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '92' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "680" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:12:57] <Jan 7, 2012 7:12:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '312' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "706" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:12:57] <Jan 7, 2012 7:12:57 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '185' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "679" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:53:58] <Jan 7, 2012 7:53:58 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '140' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "629" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
[2012-01-07 19:54:58] <Jan 7, 2012 7:54:58 PM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '140' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "689" seconds working on the request "Http Request: /******/******/******.jsp", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
bash-3.00$

what i want is select this [STUCK] ExecuteThread: and the number after it to know numbers on this thread happen without repetation

Last edited by osmanux; 01-07-2012 at 09:09 PM..
# 2  
Old 01-07-2012
What have you tried so far?
# 3  
Old 01-07-2012
Something like this?

Code:
# perl -lne '/(\[STUCK\] ExecuteThread:\s+'\''[0-9]+'\'')/;$x{$1}++;END{for(keys %x){print "$x{$_} : $_"}}' inputfile
4 : [STUCK] ExecuteThread: '140'
2 : [STUCK] ExecuteThread: '151'
2 : [STUCK] ExecuteThread: '92'
1 : [STUCK] ExecuteThread: '225'
2 : [STUCK] ExecuteThread: '38'
4 : [STUCK] ExecuteThread: '348'
2 : [STUCK] ExecuteThread: '83'
2 : [STUCK] ExecuteThread: '230'
2 : [STUCK] ExecuteThread: '312'
2 : [STUCK] ExecuteThread: '139'
2 : [STUCK] ExecuteThread: '94'
2 : [STUCK] ExecuteThread: '355'
2 : [STUCK] ExecuteThread: '11'
2 : [STUCK] ExecuteThread: '401'
2 : [STUCK] ExecuteThread: '399'
2 : [STUCK] ExecuteThread: '295'
2 : [STUCK] ExecuteThread: '313'
2 : [STUCK] ExecuteThread: '361'
2 : [STUCK] ExecuteThread: '185'
2 : [STUCK] ExecuteThread: '59'
4 : [STUCK] ExecuteThread: '44'
1 : [STUCK] ExecuteThread: '414'
2 : [STUCK] ExecuteThread: '162'
2 : [STUCK] ExecuteThread: '387'
2 : [STUCK] ExecuteThread: '226'
2 : [STUCK] ExecuteThread: '143'
2 : [STUCK] ExecuteThread: '8'
2 : [STUCK] ExecuteThread: '310'
2 : [STUCK] ExecuteThread: '250'

# 4  
Old 01-09-2012
Thanks bala for your effort ,
your result for this example is 100% accuret

but result not accerut on the original logs file

could you please explain what is the number on first of line
# 5  
Old 01-09-2012
Code:
4 : [STUCK] ExecuteThread: '140'

4 refers to the number of occurrences of "[STUCK] ExecuteThread: '140'". So, for entries where you see 1, as in 1 : [STUCK] ExecuteThread: '225', you can be sure that they occur only once in the log file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Basic Combination Shell Script

I need to have a script read a file that has a list of words in a single column like below:Black Blue Brown Orange Red Yellow Green White Purple Silver Grey Tan Then print to another file just all of the two-word possible combinations. Example: Black,Blue Anyone want to take a... (4 Replies)
Discussion started by: vespasian
4 Replies

2. Linux

How to execute a simple select script using a shell script?

Hi team, I have two select statements and need to run them using SYSDBA user select * from temp_temp_seg_usage; select segment_name, tablespace_name, bytes/ (1024*1024) UsedMb from dba_segments where segment_name='TEMP_TEMP_SEG_USAGE'; Need to run this using a shell script say named... (1 Reply)
Discussion started by: pamsy78
1 Replies

3. UNIX for Advanced & Expert Users

How to select unique hard link files?

Calculate the total sze of the files recursively from the current directory. Hard linked files are to be considered only once. Please use awk also. (3 Replies)
Discussion started by: ravisingh
3 Replies

4. UNIX for Dummies Questions & Answers

Extract unique combination of rows from text files

Hi Gurus, I have 100 tab-delimited text files each with 21 columns. I want to extract only 2nd and 5th column from each text file. However, the values in both 2bd and 5th column contain duplicate values but the combination of these values in a row are not duplicate. I want to extract only those... (3 Replies)
Discussion started by: Unilearn
3 Replies

5. Shell Programming and Scripting

Select Unique Value

HOW CAN I SELECT AN UNIQUE STRING FROM A FIELD? ACTUALLY I WANT TO PRINT RECORDS THAT 2ND FIELD OF THAT HAVE ONE CHARACTER AND IT MUST BE "P" AWK '$2~"" {PRINT $0}' IN > OUTBUT THIS CODE PRINT ALL RECORDS WHICH 2ND FIELDS OF THEM START WITH "P" AND MAY CONTAINS ANOTHER CHARACTER! (1 Reply)
Discussion started by: saeed.soltani
1 Replies

6. Shell Programming and Scripting

select unique values from duplicates in linux

I have values in the variable as so the for loop just fetches one by one params=$'$HEW_SRC_DATABASE_LIB\nprmAttunityUser\nprmAttunityPwd\nprmODBCDataSource\nprmLoadInd\nprmSrc_Lib_ATM\nprmODBCDataSource_ATM' and i have a grep command like this ret=`grep \$y $pf` ... (0 Replies)
Discussion started by: vee_789
0 Replies

7. Shell Programming and Scripting

How to use select into command in shell script?

I need to get total number of rows in a table by using select count(*) from table and need to assign into a variable in shell script. I used the following script, it does return the number of rows but also with oracle headers, Please help me to eliminate this headers. Shell Script #!/bin/sh... (16 Replies)
Discussion started by: vel4ever
16 Replies

8. Shell Programming and Scripting

select unique

hi, #cat /u01/file|grep -v "^#"|cut -f2 -d: -s i want to avoid repeated lines from the output of the above command. Do we have anyting like unique in shell scripting. thx (4 Replies)
Discussion started by: bang_dba
4 Replies

9. Shell Programming and Scripting

Combination of case and If else in shell script

Would it be right forme to combine case statement and if else in one shell script? Would it work? (2 Replies)
Discussion started by: Pauline mugisha
2 Replies

10. UNIX for Dummies Questions & Answers

Shell Script Unique Identifier Question

i All I have scripting question. I have a file "out.txt" which is generated by another script the file contains the following my_identifier8859574 logout The number is generated in the script and I have put the my_identifier bit in front of it as a unique identifier I now have... (7 Replies)
Discussion started by: grahambo2005
7 Replies
Login or Register to Ask a Question