attached
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
Index: sysstat-12.7.5/iostat.c
===================================================================
--- sysstat-12.7.5.orig/iostat.c
+++ sysstat-12.7.5/iostat.c
@@ -1095,7 +1095,11 @@ void write_disk_stat_header(int *fctr, i
{
char *units, *spc;
- if (DISPLAY_KILOBYTES(flags)) {
+ if (DISPLAY_UNIT(flags)) {
+ units = "sz";
+ spc = " ";
+ }
+ else if (DISPLAY_KILOBYTES(flags)) {
*fctr = 2;
units = "kB";
spc = " ";