}
if (dis) {
- print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
+ print_hdr_line(timestamp[!curr], a, FIRST, -1, 9);
}
for (i = 0; i < a->nr[curr]; i++) {
printf("%-11s", timestamp[curr]);
- cprintf_in(IS_STR, " %9s", dev_name, 0);
cprintf_f(NO_UNIT, 1, 9, 2,
S_VALUE(sdp->nr_ios, sdc->nr_ios, itv));
cprintf_f(unit, 2, 9, 2,
xds.svctm);
cprintf_pc(DISPLAY_UNIT(flags), 1, 9, 2,
xds.util / 10.0);
- printf("\n");
+ cprintf_in(IS_STR, " %s\n", dev_name, 0);
}
}
}
if (dis) {
- print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
+ print_hdr_line(timestamp[!curr], a, FIRST, -1, 9);
}
for (i = 0; i < a->nr[curr]; i++) {
}
printf("%-11s", timestamp[curr]);
- cprintf_in(IS_STR, " %9s", sndc->interface, 0);
rxkb = S_VALUE(sndp->rx_bytes, sndc->rx_bytes, itv);
txkb = S_VALUE(sndp->tx_bytes, sndc->tx_bytes, itv);
S_VALUE(sndp->multicast, sndc->multicast, itv));
ifutil = compute_ifutil(sndc, rxkb, txkb);
cprintf_pc(DISPLAY_UNIT(flags), 1, 9, 2, ifutil);
- printf("\n");
+ cprintf_in(IS_STR, " %s\n", sndc->interface, 0);
}
}
memset(&snedzero, 0, STATS_NET_EDEV_SIZE);
if (dis) {
- print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
+ print_hdr_line(timestamp[!curr], a, FIRST, -1, 9);
}
for (i = 0; i < a->nr[curr]; i++) {
}
printf("%-11s", timestamp[curr]);
- cprintf_in(IS_STR, " %9s", snedc->interface, 0);
cprintf_f(NO_UNIT, 9, 9, 2,
S_VALUE(snedp->rx_errors, snedc->rx_errors, itv),
S_VALUE(snedp->rx_frame_errors, snedc->rx_frame_errors, itv),
S_VALUE(snedp->rx_fifo_errors, snedc->rx_fifo_errors, itv),
S_VALUE(snedp->tx_fifo_errors, snedc->tx_fifo_errors, itv));
- printf("\n");
+ cprintf_in(IS_STR, " %s\n", snedc->interface, 0);
}
}