org.bootchart.parser.linux
public class ProcStatParser extends Object
/proc/stat. The samples contain information about CPU times:
user, nice, system and idle; 2.6 kernels also include io_wait, irq and
softirq.
| Method Summary | |
|---|---|
| static Stats | parseLog(InputStream is)
Parses the proc_stat.log file. |
proc_stat.log file. The output from
/proc/stat is used to collect the CPU statistics.
Parameters: is the input stream to read from
Returns: CPU statistics (CPUSample samples)
Throws: IOException if an I/O error occurs