Lines Matching refs:history
533 show_history_date(dladm_usage_t *history, void *arg) in show_history_date() argument
546 if ((status = dladm_name2info(handle, history->du_name, in show_history_date()
554 stime = history->du_stime; in show_history_date()
563 show_history_time(dladm_usage_t *history, void *arg) in show_history_time() argument
578 if ((status = dladm_name2info(handle, history->du_name, in show_history_time()
592 (void) printf(" %s", history->du_name); in show_history_time()
593 if (history->du_last) { in show_history_time()
600 time = history->du_etime; in show_history_time()
606 bw = (double)history->du_bandwidth/1000; in show_history_time()
608 if (history->du_last) { in show_history_time()
619 history->du_name); in show_history_time()
620 time = history->du_stime; in show_history_time()
624 time = history->du_etime; in show_history_time()
629 "%llu", history->du_rbytes); in show_history_time()
631 "%llu", history->du_obytes); in show_history_time()
633 "%s Mbps", dladm_bw2str(history->du_bandwidth, buf)); in show_history_time()
640 show_history_res(dladm_usage_t *history, void *arg) in show_history_res() argument
653 if ((status = dladm_name2info(handle, history->du_name, in show_history_res()
664 history->du_name); in show_history_res()
666 "%llu", history->du_duration); in show_history_res()
668 "%llu", history->du_ipackets); in show_history_res()
670 "%llu", history->du_rbytes); in show_history_res()
672 "%llu", history->du_opackets); in show_history_res()
674 "%llu", history->du_obytes); in show_history_res()
676 "%s Mbps", dladm_bw2str(history->du_bandwidth, buf)); in show_history_res()