def METHOD_NAME(self, content):
    self.data = {}
    for line in get_active_lines(content):
        key, value = line.split(None, 1)
        self.data.update({key: value})
    """
    The following code is used to calculate the cpu usage percentage.
    The output of a cpu line could contain the following information according to different kernel version. Earlier
    versions do not have guest, guestnice for this two are involving for virtual machine in some later version.
    The cpu usage percentage is calculated by idle divide total.
    - user:   the number of jiffies (1/100 of a second for x86 systems) that the system has been in user mode
    - nice:   the number of jiffies that the system has been in user mode with low priority (nice)
    - system: the number of jiffies that the system has been in system mode
    - idle:   the number of jiffies that the system has been in idle task
    - iowait: the number of jiffies that the system has been in I/O wait
    - irq:    the number of jiffies that the system has been in servicing interrupts
    - softirq:the number of jiffies that the system has been in servicing softirqs
    - steal:  the number of jiffies that the system involuntary wait
    - guest:  the number of jiffies that the system is running a normal guest
    - guestnice: the number of jiffies that the system is running a niced guest
    """
    self.cpu_percentage = None
    if 'cpu' in self.data:
        cpu_list = list(map(lambda x: int(x), self.data['cpu'].split()))
        if len(cpu_list) < 7:
            raise ParseException("Error: Invalid cpu length", self.data['cpu'])
        cpu_total = float(sum(cpu_list))
        cpu_idle = float(cpu_list[3])
        cpu_pct = (cpu_total - cpu_idle) * 100 / cpu_total
        self.cpu_percentage = "{0:.2f}".format(cpu_pct) + '%'
    # Get the total number of hard interrupts
    self.intr_total = int(self.data['intr'].split(None, 1)[0]) if 'intr' in self.data else None
    # Get the total number of soft interrupts
    self.softirq_total = int(self.data['softirq'].split(None, 1)[0]) if 'softirq' in self.data else None
    self.ctxt = int(self.data['ctxt']) if 'ctxt' in self.data else None
    self.btime = self.data['btime'] if 'btime' in self.data else None
    self.processes = int(self.data['processes']) if 'processes' in self.data else None
    self.procs_running = int(self.data['procs_running']) if 'procs_running' in self.data else None
    self.procs_blocked = int(self.data['procs_blocked']) if 'procs_blocked' in self.data else None