DragonFly BSD
DragonFly users List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: iostat values zero'ed?


From: Jonathon McKitrick <jcm@xxxxxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2006 21:07:10 +0100

On Thu, Aug 24, 2006 at 10:58:05PM +0100, Jonathon McKitrick wrote:
: On Thu, Aug 24, 2006 at 01:42:23PM -0700, Matthew Dillon wrote:
: :     I'm guessing the iostat program is simply not doing the delta properly
: :     for the first line.   In fact, since it isn't delaying at all before
: :     outputting the first line I'm guessing it has no delta info at all.
: : 
: :     If someone wants to fix that I think it is simply a matter of coding.

Obviously you could just set up a boolean that flips state after the first
iteration of the loop, but is there a higher-quality fix for this?  I'll do
it, as long as I'm doing it right and to standards of the style of the rest of
the project.  I know it sounds silly, but no matter how small, I'd like to do
it right.

Jonathon McKitrick
--
My other computer is your Windows box.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]