edu.isi.pegasus.planner.client
Class PlotSpaceUsage

java.lang.Object
  extended by edu.isi.pegasus.planner.client.Executable
      extended by edu.isi.pegasus.planner.client.PlotSpaceUsage

public class PlotSpaceUsage
extends Executable

This parses the kickstart records and generates input files for ploticus, to visualize.

Version:
$Revision: 3540 $
Author:
Karan Vahi

Field Summary
static String DEFAULT_OUTPUT_DIR
          The default output directory.
static String DEFAULT_TIMING_SOURCE
          The default timing source.
private  String mBasename
          The default basename given to the files.
private  String mInputDir
          The input directory containing the kickstart records.
private  int mLoggingLevel
          The logging level to be used.
private  String mOutputDir
          The output directory where to generate the ploticus output.
private  String mSizeUnits
          The size units.
private  String mTimeUnits
          The time units.
private  String mTimingSource
          The timing source used to order the events.
private  boolean mUseStatInfo
          A boolean indicating to use stat information for estimating directory sizes.
static String TAILSTATD_TIMING_SOURCE
          The tailstatd timing source.
 
Fields inherited from class edu.isi.pegasus.planner.client.Executable
mLogger, mLogMsg, mProps, mVersion
 
Constructor Summary
PlotSpaceUsage()
          Default constructor.
 
Method Summary
 void executeCommand()
          Executes the command on the basis of the options specified.
 gnu.getopt.LongOpt[] generateValidOptions()
          Tt generates the LongOpt which contain the valid options that the command will accept.
 void initialize(String[] opts)
          Initialize the PlotSpaceUsage object
 void loadProperties()
          Loads all the properties that would be needed by the Toolkit classes.
static void main(String[] args)
          The main program.
 void parseCommandLineArguments(String[] args)
          Parses the command line arguments using GetOpt and returns a PlannerOptions contains all the options passed by the user at the command line.
 void printLongVersion()
          Prints the long description, displaying in detail what the various options to the command stand for.
 void printShortVersion()
          Prints out a short description of what the command does.
 
Methods inherited from class edu.isi.pegasus.planner.client.Executable
convertException, convertException, getCommandLineOptions, getEnvValue, getGVDSVersion, initialize, log, lookupConfProperty, sanityCheckOnProperties, setupLogging
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_OUTPUT_DIR

public static final String DEFAULT_OUTPUT_DIR
The default output directory.

See Also:
Constant Field Values

DEFAULT_TIMING_SOURCE

public static final String DEFAULT_TIMING_SOURCE
The default timing source.

See Also:
Constant Field Values

TAILSTATD_TIMING_SOURCE

public static final String TAILSTATD_TIMING_SOURCE
The tailstatd timing source.

See Also:
Constant Field Values

mInputDir

private String mInputDir
The input directory containing the kickstart records.


mOutputDir

private String mOutputDir
The output directory where to generate the ploticus output.


mBasename

private String mBasename
The default basename given to the files.


mLoggingLevel

private int mLoggingLevel
The logging level to be used.


mSizeUnits

private String mSizeUnits
The size units.


mTimeUnits

private String mTimeUnits
The time units.


mTimingSource

private String mTimingSource
The timing source used to order the events.


mUseStatInfo

private boolean mUseStatInfo
A boolean indicating to use stat information for estimating directory sizes.

Constructor Detail

PlotSpaceUsage

public PlotSpaceUsage()
Default constructor.

Method Detail

initialize

public void initialize(String[] opts)
Initialize the PlotSpaceUsage object

Overrides:
initialize in class Executable
Parameters:
opts - the command line argument passed to the PlotSpaceUsage

main

public static void main(String[] args)
The main program.

Parameters:
args - the main arguments passed to the plotter.

executeCommand

public void executeCommand()
Executes the command on the basis of the options specified.

Parameters:
args - the command line options.

parseCommandLineArguments

public void parseCommandLineArguments(String[] args)
Parses the command line arguments using GetOpt and returns a PlannerOptions contains all the options passed by the user at the command line.

Parameters:
args - the arguments passed by the user at command line.

generateValidOptions

public gnu.getopt.LongOpt[] generateValidOptions()
Tt generates the LongOpt which contain the valid options that the command will accept.

Specified by:
generateValidOptions in class Executable
Returns:
array of LongOpt objects , corresponding to the valid options

printShortVersion

public void printShortVersion()
Prints out a short description of what the command does.

Specified by:
printShortVersion in class Executable

printLongVersion

public void printLongVersion()
Prints the long description, displaying in detail what the various options to the command stand for.

Specified by:
printLongVersion in class Executable

loadProperties

public void loadProperties()
Loads all the properties that would be needed by the Toolkit classes.

Specified by:
loadProperties in class Executable


Copyright © 2011 The University of Southern California. All Rights Reserved.