Rio Project 4.2 API Documentation
org.rioproject.system.measurable.cpu
Class MpstatOutputParser
java.lang.Object
org.rioproject.system.measurable.cpu.CPUExecHandler
org.rioproject.system.measurable.cpu.MpstatOutputParser
- All Implemented Interfaces:
- MeasurableMonitor<CpuUtilization>
public class MpstatOutputParser
- extends CPUExecHandler
The MpstatOutputParser parses the output of the mpstat command on Solaris
- Author:
- Dennis Reedy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MpstatOutputParser
public MpstatOutputParser()
parse
public void parse(InputStream in)
- Specified by:
parse in class CPUExecHandler
getUtilization
public double getUtilization()
- Specified by:
getUtilization in class CPUExecHandler
getCommand
public String getCommand()
- Description copied from class:
CPUExecHandler
- Get the command to execute
- Specified by:
getCommand in class CPUExecHandler
- Returns:
- command the name of the command
Copyright © 2006-2011 Rio Project. All Rights Reserved.