def star_status(cluster, logdir, cmdline, *args):
    '''Print result itemization'''
    if not args:
        args = sorted(cluster.connections.keys())
    if not cluster.last_result:
        print('Cluster status not availble / no command has been run')
        return
    missing_results = []
    for x in args:
        job = cluster.last_result.get(cluster.locate(x), None)
        if job:
            res = job.result
            running_time = job.end_time - job.start_time
            if isinstance(res, CommandResult):
                print('%s: %s - Return Code [%s] took %0.4g seconds' % (x, res.status, res.return_code, running_time))
            else:
                print('%s: *** Error *** [%s] took %0.4g seconds' + (x, repr(res), running_time))
        else:
            missing_results.append(x)
    if missing_results:
        if len(missing_results) < 10:
            print('Missing results from:', ', '.join(missing_results))
        else:
            print('Missing results from %d hosts' % len(missing_results))
dataset/ETHPy150Open radssh/radssh/radssh/star_commands.py/star_status/operator `%` -> `+`