def read_network_packets_sent():
    packets_sent = net_stat.rx_tx_dump('ens33')[1][1] + net_stat.rx_tx_dump(
        'lo')[1][1]
    return packets_sent
def read_network_packets_sent():
    # default network interface + loop_back
    packets_sent = net_stat.rx_tx_dump(network_interface)[1][1] + net_stat.rx_tx_dump('lo')[1][1]
    return packets_sent