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

Diff for /src/usr.bin/systat/vmstat.c between version 1.95 and 1.96

version 1.95, 2022/12/04 18:01:57 version 1.96, 2022/12/28 20:49:05
Line 84 
Line 84 
 static void allocinfo(struct Info *);  static void allocinfo(struct Info *);
 static void copyinfo(struct Info *, struct Info *);  static void copyinfo(struct Info *, struct Info *);
 static float cputime(int);  static float cputime(int);
 static void dinfo(int, int);  static void dinfo(int, int, double);
 static void getinfo(struct Info *);  static void getinfo(struct Info *);
 void putint(int, int, int, int);  void putint(int, int, int, int);
 void putintmk(int, int, int, int);  void putintmk(int, int, int, int);
Line 443 
Line 443 
                         mvprintw(DISKROW, DISKCOL + 5 + c,                          mvprintw(DISKROW, DISKCOL + 5 + c,
                             " %*s", l, dr_name[i]);                              " %*s", l, dr_name[i]);
                         c += 1 + l;                          c += 1 + l;
                         dinfo(i, c);                          dinfo(i, c, etime);
                 }                  }
         /* and pad the DRIVESPACE */          /* and pad the DRIVESPACE */
         l = DRIVESPACE - c;          l = DRIVESPACE - c;
Line 666 
Line 666 
 }  }
   
 static void  static void
 dinfo(int dn, int c)  dinfo(int dn, int c, double etime)
 {  {
         double words, atime, etime;          double words, atime;
   
         etime = naptime;  
   
         c += DISKCOL;          c += DISKCOL;
   

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96