com.sun.faban.harness.tools
Class Statspack
java.lang.Object
com.sun.faban.harness.tools.OracleTool
com.sun.faban.harness.tools.Statspack
- All Implemented Interfaces:
- Tool
- Direct Known Subclasses:
- Wlp2
Deprecated.
@Deprecated
public class Statspack
- extends OracleTool
Runs Oracle's statspack tool.
Methods inherited from class com.sun.faban.harness.tools.OracleTool |
configure, finish, getLogFile, getOutputFile, kill, parseSnapId, start, start, start, stop, stop, xferFile, xferLog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Statspack
public Statspack()
- Deprecated.
getSnapCommand
protected String getSnapCommand()
- Deprecated.
- Creates a sqlplus command to create an awr snapshot.
- Specified by:
getSnapCommand
in class OracleTool
- Returns:
- The sqlplus command string
getReportCommand
protected String getReportCommand(String snapId,
String snapId1,
String outputFile)
- Deprecated.
- Creates a sqlplus command to create awr reports.
- Specified by:
getReportCommand
in class OracleTool
- Parameters:
snapId
- The id of the first snapsnapId1
- The id of the second snapoutputFile
- The output file
- Returns:
- The sqlplus command string