diff options
author | ken <ken@FreeBSD.org> | 2001-08-23 03:19:54 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2001-08-23 03:19:54 +0000 |
commit | 82ad2929ed2db5d8bff46224cb0984f6292b3ea9 (patch) | |
tree | 75a27e523b31c637aad2de36b2c0a3fbfaae4420 /usr.sbin/iostat/Makefile | |
parent | fef684f9f87b34942f826b95a4415570e4a1cb99 (diff) | |
download | FreeBSD-src-82ad2929ed2db5d8bff46224cb0984f6292b3ea9.zip FreeBSD-src-82ad2929ed2db5d8bff46224cb0984f6292b3ea9.tar.gz |
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
Diffstat (limited to 'usr.sbin/iostat/Makefile')
-rw-r--r-- | usr.sbin/iostat/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/iostat/Makefile b/usr.sbin/iostat/Makefile index c6903b6..002a250 100644 --- a/usr.sbin/iostat/Makefile +++ b/usr.sbin/iostat/Makefile @@ -4,9 +4,8 @@ MAINTAINER= ken@FreeBSD.ORG PROG= iostat +DPADD= ${LIBKVM} ${LIBDEVSTAT} ${LIBM} +LDADD= -lkvm -ldevstat -lm MAN= iostat.8 -DPADD= ${LIBKVM} ${LIBDEVSTAT} -LDADD= -lkvm -ldevstat - .include <bsd.prog.mk> |