public class ProcStatParser
extends java.lang.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.Constructor and Description |
---|
ProcStatParser() |
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 fromCPUSample
samples)java.io.IOException
- if an I/O error occurs