'@return: Two lists, where first
list of active process names along with the number of times
that process has been spawned. Second list contains dead process names
and their spawn count.
@rtype: [[(str, int),], [(str,int),]]'

def get_process_names_with_spawn_count(self):

    with self.plock:
        actives = [(p.name, p.spawn_count) for p in self.procs]
        deads = [(p.name, p.spawn_count) for p in self.dead_list]
        retval = [actives, deads]
    return retval
