()
return [int(x) for x in os.listdir(b'/proc') if x.isdigit()]
Returns a list of PIDs currently running on the system.
Returns a list of PIDs currently running on the system.
Returns a list of PIDs currently running on the system .
def pids():
    """Returns a list of PIDs currently running on the system."""
    return [int(x) for x in os.listdir(b'/proc') if x.isdigit()]
def pids ( ) : return [ int ( x ) for x in os . listdir ( b'/proc' ) if x . isdigit ( ) ]