freebsd-nq/usr.sbin/iostat/Makefile
Kenneth D. Merry 5dc445bf4a 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
2001-08-23 03:19:54 +00:00

12 lines
196 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
MAINTAINER= ken@FreeBSD.ORG
PROG= iostat
DPADD= ${LIBKVM} ${LIBDEVSTAT} ${LIBM}
LDADD= -lkvm -ldevstat -lm
MAN= iostat.8
.include <bsd.prog.mk>