# S365COHR.def: Collects Oracle Coherence Information # $Id: S365COHR.def,v 1.1 2009/08/07 11:42:20 mschenke Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S365COHR.def,v 1.1 2009/08/07 11:42:20 mschenke Exp $ # # Change History # 20090729 KRA Initial version. =head1 NAME S365COHR - Collects Oracle Coherence Information =head1 DESCRIPTION This module collects Oracle Coherence-related information. The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing COHR module ...',tput('off') # Initialization var $COHR_HOME = getSetting('COHERENCE_HOME','') var $TAIL = getSetting('RDA_TAIL',1000) var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '1:Oracle Coherence' # Load the common macros run library() =head2 Configuration Files Gathers Oracle Coherence-related configuration files. =cut debug ' Inside COHR module, collecting the configuration files' loop $src (grepDir(catDir($COHR_HOME,'bin'),\ cond(isWindows(),'\.cmd$','\.sh$'),'ip')) {loop $str (grepFile($src,'COHERENCE_OPTS="?-D.*=.*"?$')) {var ($typ,$fil) = match($str,'COHERENCE_OPTS="?-D(.*?)=(.*?)"?$') call addDataValue($typ,$fil) } } loop $typ (getDataKeys()) {pretoc '2:',$typ call sort_files(3,$TAIL,getDataValue($typ)) unpretoc } unpretoc =head1 SEE ALSO L =begin credits =over 10 =item RDA 4.17: Miguel Hernandez. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002-2009, Oracle. All rights reserved. =head1 TRADEMARK NOTICE Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. =cut