The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




Thread: vmstat
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 04-18-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,119
Maybe, but some of the stuff isn't computed by subtracting the previous values. And now you have to wait 5 seconds to see anything.

Also, the previous history was supposed to initialed to zero. So that first line was supposed to be an "average" since the system was booted. Today's systems are fast so those 32 bit counters wrap around too much for that. And when one counter wraps and another didn't, calculations involving multiple counters get screwy. I still see references to the first line serving as an average since boot, but this doesn't work anymore.