com.sun.faban.harness.tools
Class Cpustat
java.lang.Object
com.sun.faban.harness.tools.CommandLineTool
com.sun.faban.harness.tools.Cpustat
public class Cpustat
- extends CommandLineTool
Cpustat starts the cpustat tool. Unlike GenericTool, cpustat needs some
further postprocessing before the data is useful.
- Author:
- Akara Sucharitakul
- See Also:
Tool
Method Summary |
void |
configure()
This method is responsible for configuring the tool utility. |
void |
postprocess()
This method is responsible for postprocessing. |
void |
stop()
This method is responsible for stopping the tool utility. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cpustat
public Cpustat()
configure
public void configure()
- This method is responsible for configuring the tool utility.
stop
public void stop()
throws IOException,
InterruptedException
- This method is responsible for stopping the tool utility.
- Overrides:
stop
in class CommandLineTool
- Throws:
IOException
- Error stopping cpustat
InterruptedException
- Interrupted waiting for commands
postprocess
public void postprocess()
throws IOException,
InterruptedException
- This method is responsible for postprocessing.
- Throws:
IOException
- Error post-processing cpustat
InterruptedException
- Interrupted waiting for commands