@classmethod
def get_services(cls):
    """Get a list of services running under supervisor

        >>> host.supervisor.get_services()
        [<Supervisor(name="gunicorn", status="RUNNING", pid=4232)>
         <Supervisor(name="celery", status="FATAL", pid=None)>]
        """
    services = []
    for line in cls(None).check_output('supervisorctl status').splitlines():
        attrs = cls._parse_status(line)
        service = cls(attrs['name'], attrs)
        services.append(service)
    return services
