Select combination unique using shell script

Hi All,

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

What have you tried so far?

Something like this?

# 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'

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

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.