code: function(config) {
    /**
     * Local event emitter instance to handle the PS.
     * @type {Emitter}
     */
     
    this.events = new Emitter();
  
    /**
     * Format string for formatting the output to a string.
     * @type {string}
     */
     
    this.format = config.format || '';
  
    /**
     * Update interval.
     * @type {number}
     * @default 1000
     */
     
    this.interval = config.interval || 1000;
  
    /**
     * Reference to the monitor loop interval.
     * @type {function}
     */
     
    this.intervalId = null;
  
    /**
     * Value indicating whether the monitor loop has been started.
     * @type {Boolean}
     */
     
    this.isRunning = false;
  
    /**
     * Process IDs to monitor.
     * @type {array}
     */
     
    this.pid = config.pid;
  
    /**
     * The technique used to find CPU usage.
     * @type {string}
     */
  
    this.technique = 'ps';
    if(config.technique === 'proc') {
      this.technique = 'proc';
    }
  
    /**
     * Process statistics detail.
     * @type {object}
     */
     
    this.stats = {};
  }
docs: /*
  ProcMon
  -------------------------------------------------------------------------- 
  Initializes a new process monitor object.
  @param {object} config Configuration options.
  @constructor