Lines Matching refs:history

759 show_history_date(dladm_usage_t *history, void *arg)  in show_history_date()  argument
772 history->du_name, &attr)) != DLADM_STATUS_OK)) { in show_history_date()
776 stime = history->du_stime; in show_history_date()
785 show_history_time(dladm_usage_t *history, void *arg) in show_history_time() argument
800 history->du_name, &attr)) != DLADM_STATUS_OK)) { in show_history_time()
810 (void) printf(" %s", history->du_name); in show_history_time()
811 if (history->du_last) { in show_history_time()
818 time = history->du_etime; in show_history_time()
824 bw = (double)history->du_bandwidth/1000; in show_history_time()
826 if (history->du_last) { in show_history_time()
837 history->du_name); in show_history_time()
838 time = history->du_stime; in show_history_time()
842 time = history->du_etime; in show_history_time()
847 "%llu", history->du_rbytes); in show_history_time()
849 "%llu", history->du_obytes); in show_history_time()
852 dladm_bw2str(history->du_bandwidth, buf)); in show_history_time()
859 show_history_res(dladm_usage_t *history, void *arg) in show_history_res() argument
872 history->du_name, &attr)) != DLADM_STATUS_OK)) { in show_history_res()
879 history->du_name); in show_history_res()
881 "%llu", history->du_duration); in show_history_res()
883 "%llu", history->du_ipackets); in show_history_res()
885 "%llu", history->du_rbytes); in show_history_res()
887 "%llu", history->du_opackets); in show_history_res()
889 "%llu", history->du_obytes); in show_history_res()
891 "%s Mbps", dladm_bw2str(history->du_bandwidth, buf)); in show_history_res()