|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bootchart.parser.linux.ProcDiskStatParser
ProcDiskStatParser parses log files produced by logging the output of
/proc/diskstats
. The samples contain information about disk
IO activity.
Constructor Summary | |
ProcDiskStatParser()
|
Method Summary | |
static Stats |
parseLog(java.io.InputStream is,
int numCpu)
Parses the proc_diskstats.log file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProcDiskStatParser()
Method Detail |
public static Stats parseLog(java.io.InputStream is, int numCpu) throws java.io.IOException
proc_diskstats.log
file. The output from
/proc/diskstat
is used to collect the disk statistics.
is
- the input stream to read fromnumCpu
- number of processors
DiskUtilSample
and
DiskTPutSample
samples)
java.io.IOException
- if an I/O error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |