# TSTssd.def: Analyzes System State Dumps # $Id: TSTssd.def,v 1.8 2009/01/13 16:50:24 ldens Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/TSTssd.def,v 1.8 2009/01/13 16:50:24 ldens Exp $ # # Change History # 20090113 LDE Change the copyright notice. =head1 NAME TSTssd - Analyzes System State Dumps. =head1 DESCRIPTION This test module analyzes all system state dumps contained in a specified trace file and provides a summary as a report. The trace file can be specified in two ways: =over 3 =item a) Runs interactively. It requests the user to input the absolute path of the trace file. -vT ssd =item b) Runs from the command line. The input can be given in the command line using the following syntax: -vT ssd:absolute_path_of_trace_file =back =cut echo tput('bold'),'Analyzing system state dumps ...',tput('off') # Initialisation var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' # Load the common macros run DBssd() # Obtain the input trace file if getSetting('TST_ARGS') var $fil = last else {call requestSetting('TSTssd') var $fil = getSetting('TRACE_FILE') } # Treat the file if testFile('r',$fil) {report system_state call analyze_ssd($fil) if isCreated() echo 'Result file: ',renderFile() else echo 'The input file does not contain a valid system state dump' } else echo 'The input file does not exist or is not readable' =head1 SEE ALSO L =begin credits =over 10 =item RDA 4.6: Kevin Quinn. =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