I need to parse a log file and tell the test name if its execution time taken is more than a specific period (user will input this time, lets say script executed for more than 30mins)start security test suiteMon Sep 05 00:16:30 PDT 2011: creating threads...Mon Sep 05 00:16:30 PDT 2011: starting...Mon Sep 05 00:16:31 PDT 2011: Reporting results...Mon Sep 05 00:16:31 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/add_role_user_security.xmladd_role_user_security.xml : PassedMon Sep 05 00:16:31 PDT 2011: creating threads...Mon Sep 05 00:16:31 PDT 2011: starting...Mon Sep 05 00:16:32 PDT 2011: Reporting results...Mon Sep 05 00:16:32 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/privilege.xmlprivilege.xml : PassedMon Sep 05 00:16:32 PDT 2011: creating threads...Mon Sep 05 00:16:32 PDT 2011: starting...Mon Sep 05 00:16:32 PDT 2011: Reporting results...Mon Sep 05 00:16:32 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/edit_role_user.xmledit_role_user.xml : PassedMon Sep 05 00:16:32 PDT 2011: creating threads...Mon Sep 05 00:16:32 PDT 2011: starting...Mon Sep 05 00:16:33 PDT 2011: Reporting results...Mon Sep 05 00:16:33 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/remove_roles.xmlremove_roles.xml : PassedMon Sep 05 00:16:33 PDT 2011: creating threads...Mon Sep 05 00:16:33 PDT 2011: starting...Mon Sep 05 00:16:33 PDT 2011: Reporting results...Mon Sep 05 00:16:33 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/role_user1.xmlrole_user1.xml : PassedMon Sep 05 00:16:33 PDT 2011: creating threads...Mon Sep 05 00:16:33 PDT 2011: starting...Mon Sep 05 00:16:34 PDT 2011: Reporting results...Mon Sep 05 00:16:34 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/role_user2.xmlbug10611.xml : Passedsecurity test suitestart fo test suiteMon Sep 05 00:18:52 PDT 2011: creating threads...Mon Sep 05 00:18:52 PDT 2011: starting...Mon Sep 05 00:18:52 PDT 2011: Reporting results...Mon Sep 05 00:18:52 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/setup_script.xmlsetup_script.xml : PassedMon Sep 05 00:18:52 PDT 2011: creating threads...Mon Sep 05 00:18:52 PDT 2011: starting...Mon Sep 05 00:18:58 PDT 2011: Reporting results...Mon Sep 05 00:18:58 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/bug_scripts.xmlbug_scripts.xml : PassedMon Sep 05 00:18:58 PDT 2011: creating threads...Mon Sep 05 00:18:58 PDT 2011: starting...Mon Sep 05 00:18:58 PDT 2011: Reporting results...Mon Sep 05 00:18:58 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/loadtime_namespace.xml[Fatal Error] loadtime_namespace.xml:11:25: The processing instruction target matching [xX][mM][lL] is not allowed.Unable to parse loadtime_namespace.xml: Running diff utility to compare...rm -f ./scripts/diffs/loadtime_namespace.xmlloadtime_namespace.xml : PassedMon Sep 05 00:19:01 PDT 2011: creating threads...Mon Sep 05 00:19:01 PDT 2011: starting...Mon Sep 05 00:19:01 PDT 2011: Reporting results...Mon Sep 05 00:19:01 PDT 2011: Writing results to /space/builder/builds/macosx-64/HEAD/qa/scripts/results/string_script.xmlstring_script.xml : Passedfo test suiteUser will be executing the script by passing the execution time taken by scriptsh script_name.sh 60And it should have the list of tests that are taking more than 60 mins to executeThe output should be like:security test suite   add_role_user_security.xmlsecurity test suite   privilege.xmlsecurity test suite   remove_roles.xmlsecurity test suite   string_script.xmlfo test suite         string_script.xmlfo test suite         setup_script.xml
parse a log file which takes an argument (execution time taken by tests )
shell script;awk;patterns