def _get_uptime():
    """Retrieve and return uptime for each host"""
with hide('stdout'):
    up = run('uptime')
return up.rstrip()

@runs_once
def uptime_sorted():
    """System: System uptime (sorted) - Use parallel for best effect"""
print(cyan('[%(host)s] Executing on %(host)s as %(user)s' % env))
system_uptimes = execute(_get_uptime)
for sys, up in sorted(system_uptimes.items()):
    pass
Is there a way to make Fabric summarise results across a number of hosts?