|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bootchart.parser.linux.ProcStatParser
ProcStatParser parses log files produced by logging the output of
/proc/stat
. The samples contain information about CPU times:
user, nice, system and idle; 2.6 kernels also include io_wait, irq and
softirq.
Constructor Summary | |
ProcStatParser()
|
Method Summary | |
static Stats |
parseLog(java.io.InputStream is)
Parses the proc_stat.log file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProcStatParser()
Method Detail |
public static Stats parseLog(java.io.InputStream is) throws java.io.IOException
proc_stat.log
file. The output from
/proc/stat
is used to collect the CPU statistics.
is
- the input stream to read from
CPUSample
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 |