'Get runtime configuration info.
:returns: stdout from DUMP_RUN_CFG'

def _get_runtime_cfg(self):

    try:
        proc = subprocess.Popen(constants.os_constant('define_cmd'), stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
        (stdout, stderr) = proc.communicate()
    except (OSError, ValueError):
        logger.error('Error    running    command    %s    for    runtime    parameters!%s', constants.os_constant('define_cmd'), os.linesep)
        raise errors.MisconfigurationError('Error    accessing    loaded    Apache    parameters:    %s', constants.os_constant('define_cmd'))
    if (proc.returncode != 0):
        logger.warning('Error    in    checking    parameter    list:    %s', stderr)
        raise errors.MisconfigurationError('Apache    is    unable    to    check    whether    or    not    the    module    is    loaded    because    Apache    is    misconfigured.')
    return stdout
