Beispiel #1
0
def main2():
    tsa = datalogger.load_tsa_raw(datestring)
    print(len(tsa.keys()))
    print(tsa.keys()[0])
    print(tsa[tsa.keys()[0]])
    tsastat = TimeseriesArrayStats(tsa)
    print(tsastat[tsastat.keys()[0]])
Beispiel #2
0
def main3():
    tsa = datalogger[datestring]
    print(len(tsa.keys()))
    print(tsa.keys()[0])
    print(tsa[tsa.keys()[0]])
    tsastat = TimeseriesArrayStats(tsa)
    print(tsastat[tsastat.keys()[0]])
    print(tsa[("ucsfib-sr1-1-mgmt0","port-channel1304","propVirtual")]["ifOutOctets"])
    print(tsastat[("ucsfib-sr1-1-mgmt0","port-channel1304","propVirtual")])