def plot_tcp()

in perfrunbook/utilities/measure_and_plot_basic_sysstat_stats.py [0:0]


def plot_tcp(buf, stat):
    """
    Plot the numer of new connections being recieved over time
    """
    from sar_parse import ParseTcpTime
    df = parse_sar(ParseTcpTime, buf)

    calc_stats_and_plot(df, stat)