#endif
extern unsigned int flags;
-extern int dis;
+extern int dish;
extern char timestamp[][TIMESTAMP_LEN];
extern unsigned long avg_count;
struct stats_cpu *scc, *scp;
unsigned char offline_cpu_bitmap[BITMAP_SIZE(NR_CPUS)] = {0};
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST + DISPLAY_CPU_ALL(a->opt_flags), 7, 9);
}
*spc = (struct stats_pcsw *) a->buf[curr],
*spp = (struct stats_pcsw *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
int i;
struct stats_irq *sic, *sip;
- if (dis || DISPLAY_ZERO_OMIT(flags)) {
+ if (dish || DISPLAY_ZERO_OMIT(flags)) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*ssc = (struct stats_swap *) a->buf[curr],
*ssp = (struct stats_swap *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*spc = (struct stats_paging *) a->buf[curr],
*spp = (struct stats_paging *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*sic = (struct stats_io *) a->buf[curr],
*sip = (struct stats_io *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
}
if (DISPLAY_MEMORY(a->opt_flags)) {
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
}
if (DISPLAY_SWAP(a->opt_flags)) {
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, SECOND, 0, 9);
}
avg_pty_nr = 0;
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
avg_load_avg_15 = 0,
avg_procs_blocked = 0;
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
int i, j, j0, found;
struct stats_serial *ssc, *ssp;
- if (dis || DISPLAY_ZERO_OMIT(flags)) {
+ if (dish || DISPLAY_ZERO_OMIT(flags)) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
unit = UNIT_KILOBYTE;
}
- if (dis || DISPLAY_ZERO_OMIT(flags)) {
+ if (dish || DISPLAY_ZERO_OMIT(flags)) {
print_hdr_line(timestamp[!curr], a, FIRST, DISPLAY_HUMAN_READ(flags) ? -1 : 0, 9);
}
unit = UNIT_BYTE;
}
- if (dis || DISPLAY_ZERO_OMIT(flags)) {
+ if (dish || DISPLAY_ZERO_OMIT(flags)) {
print_hdr_line(timestamp[!curr], a, FIRST, DISPLAY_HUMAN_READ(flags) ? -1 : 0, 9);
}
memset(&snedzero, 0, STATS_NET_EDEV_SIZE);
- if (dis || DISPLAY_ZERO_OMIT(flags)) {
+ if (dish || DISPLAY_ZERO_OMIT(flags)) {
print_hdr_line(timestamp[!curr], a, FIRST, DISPLAY_HUMAN_READ(flags) ? -1 : 0, 9);
}
*snnc = (struct stats_net_nfs *) a->buf[curr],
*snnp = (struct stats_net_nfs *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snndc = (struct stats_net_nfsd *) a->buf[curr],
*snndp = (struct stats_net_nfsd *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
avg_frag_inuse = 0,
avg_tcp_tw = 0;
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snic = (struct stats_net_ip *) a->buf[curr],
*snip = (struct stats_net_ip *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*sneic = (struct stats_net_eip *) a->buf[curr],
*sneip = (struct stats_net_eip *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snic = (struct stats_net_icmp *) a->buf[curr],
*snip = (struct stats_net_icmp *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*sneic = (struct stats_net_eicmp *) a->buf[curr],
*sneip = (struct stats_net_eicmp *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*sntc = (struct stats_net_tcp *) a->buf[curr],
*sntp = (struct stats_net_tcp *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snetc = (struct stats_net_etcp *) a->buf[curr],
*snetp = (struct stats_net_etcp *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snuc = (struct stats_net_udp *) a->buf[curr],
*snup = (struct stats_net_udp *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
avg_raw6_inuse = 0,
avg_frag6_inuse = 0;
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snic = (struct stats_net_ip6 *) a->buf[curr],
*snip = (struct stats_net_ip6 *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*sneic = (struct stats_net_eip6 *) a->buf[curr],
*sneip = (struct stats_net_eip6 *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snic = (struct stats_net_icmp6 *) a->buf[curr],
*snip = (struct stats_net_icmp6 *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*sneic = (struct stats_net_eicmp6 *) a->buf[curr],
*sneip = (struct stats_net_eicmp6 *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
*snuc = (struct stats_net_udp6 *) a->buf[curr],
*snup = (struct stats_net_udp6 *) a->buf[prev];
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
nr_alloc = a->nr[curr];
}
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 7, 9);
}
nr_alloc = a->nr[curr];
}
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, -2, 9);
}
nr_alloc = a->nr[curr];
}
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, -2, 9);
}
nr_alloc = a->nr[curr];
}
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, -2, 9);
}
unit = UNIT_KILOBYTE;
}
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 0, 9);
}
struct stats_pwr_wghfreq *spc, *spp, *spc_k, *spp_k;
unsigned long long tis, tisfreq;
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, 7, 9);
}
char fmt[16];
struct stats_pwr_usb *suc, *sum;
- if (dis) {
+ if (dish) {
printf("\n%-11s BUS idvendor idprod maxpower",
(dispavg ? _("Summary:") : timestamp[!curr]));
printf(" %-*s product\n", MAX_MANUF_LEN - 1, "manufact");
unit = UNIT_BYTE;
}
- if (dis || DISPLAY_ZERO_OMIT(flags)) {
+ if (dish || DISPLAY_ZERO_OMIT(flags)) {
print_hdr_line((dispavg ? _("Summary:") : timestamp[!curr]),
a, FIRST + DISPLAY_MOUNT(a->opt_flags), -1, 9);
}
int i, j, j0, found;
struct stats_fchost *sfcc, *sfcp;
- if (dis) {
+ if (dish) {
print_hdr_line(timestamp[!curr], a, FIRST, -1, 9);
}
*ssnp = (struct stats_softnet *) a->buf[prev];
unsigned char offline_cpu_bitmap[BITMAP_SIZE(NR_CPUS)] = {0};
- if (dis || DISPLAY_ZERO_OMIT(flags)) {
+ if (dish || DISPLAY_ZERO_OMIT(flags)) {
print_hdr_line(timestamp[!curr], a, FIRST, 7, 9);
}