|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bootchart.parser.linux.IostatParser
IostatParser parses log files produced by iostat. These log
files contain information about hard disk utilization and throughput.
| Constructor Summary | |
IostatParser()
|
|
| Method Summary | |
static double |
getMaxDiskTPut(java.util.List ioSampleList)
Returns the maximum throughput seen in the iostat sample list. |
static Stats |
parseLog(java.io.InputStream is,
java.util.Date endTime)
Parses the iostat log file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IostatParser()
| Method Detail |
public static Stats parseLog(java.io.InputStream is,
java.util.Date endTime)
throws java.io.IOException,
java.text.ParseException
iostat log file. Consecutive iostat samples
are parsed and returned in a list. Parsing stops when sample time
exceeds endTime.
is - the input stream to parseendTime - when to stop parsing
java.io.IOException - if an I/O error occurs
java.text.ParseException - if a parsing error occurspublic static double getMaxDiskTPut(java.util.List ioSampleList)
ioSampleList - iostat sample list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||