summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat/Makefile
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-07-25 22:35:10 +0000
committerrwatson <rwatson@FreeBSD.org>2005-07-25 22:35:10 +0000
commit4bf88ad8427275769fe5ded4baa1d99b9d3c924e (patch)
tree7f53e90bb48e6e8696d6e649e9495d6b51ffee53 /usr.bin/vmstat/Makefile
parent6202c129d5def3675e43e360bd2baa43b19c40e0 (diff)
downloadFreeBSD-src-4bf88ad8427275769fe5ded4baa1d99b9d3c924e.zip
FreeBSD-src-4bf88ad8427275769fe5ded4baa1d99b9d3c924e.tar.gz
Teach vmstat -m and vmstat -z to use libmemstat(3). Certain
statistics from -z are now a bit different due to changes in the way statistics are now measured. Reproduce with some amount of accuracy the slightly obscure layouts adopted by the two kernel sysctls. In the future, we might want to normalize them. GC dosysctl(), which is now no longer used. MFC after: 1 week
Diffstat (limited to 'usr.bin/vmstat/Makefile')
-rw-r--r--usr.bin/vmstat/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vmstat/Makefile b/usr.bin/vmstat/Makefile
index da2a08d..21795e9 100644
--- a/usr.bin/vmstat/Makefile
+++ b/usr.bin/vmstat/Makefile
@@ -3,7 +3,7 @@
PROG= vmstat
MAN= vmstat.8
-DPADD= ${LIBDEVSTAT} ${LIBKVM}
-LDADD= -ldevstat -lkvm
+DPADD= ${LIBDEVSTAT} ${LIBKVM} ${LIBMEMSTAT}
+LDADD= -ldevstat -lkvm -lmemstat
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud