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

Diff for /src/usr.bin/vmstat/vmstat.c between version 1.38 and 1.39

version 1.38, 2000/10/25 16:49:32 version 1.39, 2000/11/26 02:30:30
Line 114 
Line 114 
         { "_allevents" },          { "_allevents" },
 #define X_FORKSTAT      13  #define X_FORKSTAT      13
         { "_forkstat" },          { "_forkstat" },
 #ifdef notdef  #define X_NSELCOLL      14
 #define X_DEFICIT       14          { "_nselcoll" },
         { "_deficit" },  #define X_END           15
 #define X_REC           15  
         { "_rectime" },  
 #define X_PGIN          16  
         { "_pgintime" },  
 #define X_XSTATS        17  
         { "_xstats" },  
 #define X_END           28  
 #else  
 #define X_END           14  
 #endif  
 #if defined(__pc532__)  #if defined(__pc532__)
 #define X_IVT           (X_END)  #define X_IVT           (X_END)
         { "_ivt" },          { "_ivt" },
Line 541 
Line 531 
 {  {
         struct nchstats nchstats;          struct nchstats nchstats;
         long nchtotal;          long nchtotal;
           int nselcoll;
   
 #ifdef UVM  #ifdef UVM
         kread(X_UVMEXP, &uvmexp, sizeof(uvmexp));          kread(X_UVMEXP, &uvmexp, sizeof(uvmexp));
Line 636 
Line 627 
             PCT(nchstats.ncs_badhits, nchtotal),              PCT(nchstats.ncs_badhits, nchtotal),
             PCT(nchstats.ncs_falsehits, nchtotal),              PCT(nchstats.ncs_falsehits, nchtotal),
             PCT(nchstats.ncs_long, nchtotal));              PCT(nchstats.ncs_long, nchtotal));
           kread(X_NSELCOLL, &nselcoll, sizeof(nselcoll));
           (void)printf("%11d select collisions\n", nselcoll);
 }  }
   
 void  void

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39