Class DTraceParser

java.lang.Object
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 Details

    • DTraceParser

      public DTraceParser()
  • Method Details

    • 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