Page MenuHomeFreeBSD

D15076.diff
No OneTemporary

D15076.diff

Index: head/usr.sbin/iostat/iostat.c
===================================================================
--- head/usr.sbin/iostat/iostat.c
+++ head/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
Fri, May 15, 12:59 PM (18 m, 50 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33084181
Default Alt Text
D15076.diff (937 B)

Event Timeline