def query_configuration(parser_args):
    """ Queries process state """
    from synergy.system import process_helper
    from synergy.conf import context

    process_names = [parser_args.process_name] if parser_args.process_name else list(context.process_context)
    for process_name in process_names:
        process_helper.poll_process(process_name)
    sys.stdout.write('\n')