'Create some process-based host data.'

def GenProcessData(self, processes, **kwargs):

    host_data = self.SetKnowledgeBase(**kwargs)
    data = []
    for (name, pid, cmdline) in processes:
        data.append(rdf_client.Process(name=name, pid=pid, cmdline=cmdline))
    host_data['ListProcessesGrr'] = self.SetArtifactData(raw=data)
    return host_data
