def METHOD_NAME(self, names):
    pids = []
    for name in names:
        status, pid = self.target.run('pidof %s' %name)
        if status:
            self.logger.debug("%s is not running" %name)
            return 1, pids
        pids.append(pid)
    return 0, pids