def get_total_blkio(stat):
    """ Gets the total blkio out of the docker stat
    :param stat: The docker stat
    :return: The blkio
    """
    io_list = stat['blkio_stats']['io_service_bytes_recursive']
    if len(io_list)>0:
        total_dics = list(filter(lambda dic: dic['op'] == 'Total', io_list))
        if len(total_dics)>0:
            return total_dics[0]['value']
    else:
        return 0