org.bootchart.parser.solaris
Class DTraceParser

java.lang.Object
  extended by org.bootchart.parser.solaris.DTraceParser

public class DTraceParser
extends Object

DTraceParser parses log files produced with the bootchart DTrace script for Solaris 10. The D script produces a single log file containing process execution, CPU scheduler and disk I/O information.


Constructor Summary
DTraceParser()
           
 
Method Summary
static BootStats parseLog(InputStream is, String monitoredApp, boolean prune)
          Parses the dtrace log file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTraceParser

public DTraceParser()
Method Detail

parseLog

public static BootStats parseLog(InputStream is,
                                 String monitoredApp,
                                 boolean prune)
                          throws IOException
Parses the dtrace log file.

Parameters:
is - the input stream to parse
prune - whether to prune the tree
monitoredApp - monitored application (or null if the boot process is profiled)
Returns:
boot statistics
Throws:
IOException - if an I/O error occurs