Class PidNameParser

java.lang.Object
org.bootchart.parser.linux.PidNameParser

public class PidNameParser extends Object
PidNameParser parses PID to command name mapping log files.
  • Constructor Details

    • PidNameParser

      public PidNameParser()
  • Method Details

    • parseLog

      public static Map parseLog(InputStream is) throws IOException
      Parses the pidname log file (containing pid to command name mappings).
      Parameters:
      is - the input stream to parse
      Returns:
      a map of Integer to String instances
      Throws:
      IOException - if an I/O error occurs