Page MenuHomeFreeBSD

D15076.1791281837.diff
No OneTemporary

Size
928 B
Referenced Files
None
Subscribers
None

D15076.1791281837.diff

Index: usr.sbin/iostat/iostat.c
===================================================================
--- usr.sbin/iostat/iostat.c
+++ usr.sbin/iostat/iostat.c
@@ -802,11 +802,15 @@
char *devicename;
if (xflag > 0) {
+ if (Cflag > 0) {
+ printf(" cpu\n");
+ printf(" us ni sy in id\n");
+ cpustats();
+ printf("\n");
+ }
printf(" extended device statistics ");
if (Tflag > 0)
printf(" tty ");
- if (Cflag > 0)
- printf(" cpu ");
printf("\n");
if (Iflag == 0) {
printf("device r/s w/s kr/s kw/s "
@@ -817,8 +821,6 @@
}
if (Tflag > 0)
printf("tin tout ");
- if (Cflag > 0)
- printf("us ni sy in id ");
printf("\n");
}
@@ -922,8 +924,6 @@
printf("%4.0Lf%5.0Lf",
cur.tk_nin / etime,
cur.tk_nout / etime);
- if (Cflag > 0)
- cpustats();
}
printf("\n");
}

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 6, 10:17 AM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30196181
Default Alt Text
D15076.1791281837.diff (928 B)

Event Timeline