org.bootchart.parser.linux

Class PidNameParser

public class PidNameParser extends Object

PidNameParser parses PID to command name mapping log files.
Method Summary
static MapparseLog(InputStream is)
Parses the pidname log file (containing pid to command name mappings).

Method Detail

parseLog

public static Map parseLog(InputStream is)
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