[BACK]Return to vmstat.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / systat

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/systat/vmstat.c between version 1.30 and 1.31

version 1.30, 2000/06/04 18:29:14 version 1.31, 2000/06/05 21:36:34
Line 316  labelkre()
Line 316  labelkre()
         mvprintw(DISKROW + 1, DISKCOL, "seeks");          mvprintw(DISKROW + 1, DISKCOL, "seeks");
         mvprintw(DISKROW + 2, DISKCOL, "xfers");          mvprintw(DISKROW + 2, DISKCOL, "xfers");
         mvprintw(DISKROW + 3, DISKCOL, "Kbyte");          mvprintw(DISKROW + 3, DISKCOL, "Kbyte");
         mvprintw(DISKROW + 4, DISKCOL, "  sec");          mvprintw(DISKROW + 4, DISKCOL, "%%busy");
         j = 0;          j = 0;
         for (i = 0; i < dk_ndrive && j < MAXDRIVES; i++)          for (i = 0; i < dk_ndrive && j < MAXDRIVES; i++)
                 if (dk_select[i]) {                  if (dk_select[i]) {
Line 659  dinfo(dn, c)
Line 659  dinfo(dn, c)
         putint((int)((float)cur.dk_seek[dn]/etime+0.5), DISKROW + 1, c, 5);          putint((int)((float)cur.dk_seek[dn]/etime+0.5), DISKROW + 1, c, 5);
         putint((int)((float)cur.dk_xfer[dn]/etime+0.5), DISKROW + 2, c, 5);          putint((int)((float)cur.dk_xfer[dn]/etime+0.5), DISKROW + 2, c, 5);
         putint((int)(words/etime + 0.5), DISKROW + 3, c, 5);          putint((int)(words/etime + 0.5), DISKROW + 3, c, 5);
         putfloat(atime/etime, DISKROW + 4, c, 5, 2, 1);          putfloat(atime*100.0/etime, DISKROW + 4, c, 5, 1, 1);
 }  }

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

CVSweb <webmaster@jp.NetBSD.org>