Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2001 20:19:55 -0700 (PDT)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/iostat Makefile iostat.c
Message-ID:  <200108230319.f7N3Jtw21876@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ken         2001/08/22 20:19:55 PDT

  Modified files:
    usr.sbin/iostat      Makefile iostat.c 
  Log:
  Bring in some iostat fixes that bde reminded me about.  These fixes were
  originally written in January, 2000, but have been substantially updated.
  
  - No longer use hz/stathz and the CPU times in computing the TTY stats,
    but rather use etime, like the disk stats.
  - Clean up malloc/realloc failure tests.
  - Use a new integrated routine to fetch devstat information via sysctl or
    KVM.
  - Get rid of the X() macro for calculating CPU stats
  - Use rint() on the CPU state display to avoid truncation errors.  (this
    requires libm)
  - Clean up flag usage somewhat.
  
  Reviewed by:	bde
  
  Revision  Changes    Path
  1.11      +3 -4      src/usr.sbin/iostat/Makefile
  1.21      +124 -93   src/usr.sbin/iostat/iostat.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108230319.f7N3Jtw21876>