summaryrefslogtreecommitdiffstats
path: root/bin/ps/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-05-02 15:05:47 +0000
committerbdrewery <bdrewery@FreeBSD.org>2014-05-02 15:05:47 +0000
commit5f3a7beb86032f8a9a9b447d6ac633c6e7e103b7 (patch)
treeb52fe0dcd2fc4cb28d3f2d1730772068d1299210 /bin/ps/Makefile
parent3bfe763ff9a13f23a99f6d292e84f2a9aba42084 (diff)
downloadFreeBSD-src-5f3a7beb86032f8a9a9b447d6ac633c6e7e103b7.zip
FreeBSD-src-5f3a7beb86032f8a9a9b447d6ac633c6e7e103b7.tar.gz
Add -J to filter by matching jail IDs and names.
-J 0 can be used to show only host processes. Patch partially based on work by bz@ PR: bin/78763 MFC after: 2 weeks Relnotes: yes
Diffstat (limited to 'bin/ps/Makefile')
-rw-r--r--bin/ps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/Makefile b/bin/ps/Makefile
index 9be1979..5ba4f2f 100644
--- a/bin/ps/Makefile
+++ b/bin/ps/Makefile
@@ -11,7 +11,7 @@ SRCS= fmt.c keyword.c nlist.c print.c ps.c
# on large systems.
#
CFLAGS+=-DLAZY_PS
-DPADD= ${LIBM} ${LIBKVM}
-LDADD= -lm -lkvm
+DPADD= ${LIBM} ${LIBKVM} ${LIBJAIL}
+LDADD= -lm -lkvm -ljail
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud