org.bootchart.parser.linux
クラス ProcStatParser

java.lang.Object
  上位を拡張 org.bootchart.parser.linux.ProcStatParser

public class ProcStatParser
extends Object

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.


コンストラクタの概要
ProcStatParser()
           
 
メソッドの概要
static Stats parseLog(InputStream is)
          Parses the proc_stat.log file.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ProcStatParser

public ProcStatParser()
メソッドの詳細

parseLog

public static Stats parseLog(InputStream is)
                      throws IOException
Parses the proc_stat.log file. The output from /proc/stat is used to collect the CPU statistics.

パラメータ:
is - the input stream to read from
戻り値:
CPU statistics (CPUSample samples)
例外:
IOException - if an I/O error occurs