

def get_active_pids(self):
    'return a list of pids of active processes (not already stopped)'
    return [p.pid for p in p.processes.values() if (p.status not in (DEAD_OR_ZOMBIE, UNEXISTING))]

dataset/ETHPy150Open circus-tent/circus/circus/watcher.py Watcher.get_active_pids/VarMisuse@20/47 `self`->`p`