summaryrefslogtreecommitdiffstats
path: root/usr.sbin/iostat/Makefile
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2001-08-23 03:19:54 +0000
committerken <ken@FreeBSD.org>2001-08-23 03:19:54 +0000
commit82ad2929ed2db5d8bff46224cb0984f6292b3ea9 (patch)
tree75a27e523b31c637aad2de36b2c0a3fbfaae4420 /usr.sbin/iostat/Makefile
parentfef684f9f87b34942f826b95a4415570e4a1cb99 (diff)
downloadFreeBSD-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/Makefile5
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>
OpenPOWER on IntegriCloud