cprintf_f(NO_UNIT, 1, 6, 2,
S_VALUE(ioj->rq_ticks, ioi->rq_ticks, itv) / 1000.0);
/* areq-sz (in kB, not sectors) */
- cprintf_f(NO_UNIT, 1, 8, 2,
+ cprintf_f(DISPLAY_UNIT(flags) ? UNIT_KILOBYTE : NO_UNIT, 1, 8, 2,
xds->arqsz / 2);
/*
* %util
cprintf_f(NO_UNIT, 1, 6, 2,
S_VALUE(ioj->rq_ticks, ioi->rq_ticks, itv) / 1000.0);
/* rareq-sz wareq-sz (in kB, not sectors) */
- cprintf_f(NO_UNIT, 2, 8, 2,
+ cprintf_f(DISPLAY_UNIT(flags) ? UNIT_KILOBYTE : NO_UNIT, 2, 8, 2,
xios->rarqsz / 2, xios->warqsz / 2);
/* svctm - The ticks output is biased to output 1000 ticks per second */
cprintf_f(NO_UNIT, 1, 6, 2, xds->svctm);
cprintf_f(unit, 2, 9, 2,
S_VALUE(sdp->rd_sect, sdc->rd_sect, itv) / 2,
S_VALUE(sdp->wr_sect, sdc->wr_sect, itv) / 2);
- cprintf_f(NO_UNIT, 4, 9, 2,
- /* See iostat for explanations */
- xds.arqsz / 2,
+ /* See iostat for explanations */
+ cprintf_f(unit, 1, 9, 2,
+ xds.arqsz / 2);
+ cprintf_f(NO_UNIT, 3, 9, 2,
S_VALUE(sdp->rq_ticks, sdc->rq_ticks, itv) / 1000.0,
xds.await,
xds.svctm);