summaryrefslogtreecommitdiffstats
path: root/usr.bin/procstat/Makefile
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-12-02 23:31:45 +0000
committerrwatson <rwatson@FreeBSD.org>2007-12-02 23:31:45 +0000
commit88563131a07695a978d1ea8d582fcaef2bbcf495 (patch)
tree7dbb26f0de9b1cdfcb17b3932fafcf867ce71aa3 /usr.bin/procstat/Makefile
parent2cfd49de5b26f76b5592e60721eee0cb4d5981e7 (diff)
downloadFreeBSD-src-88563131a07695a978d1ea8d582fcaef2bbcf495.zip
FreeBSD-src-88563131a07695a978d1ea8d582fcaef2bbcf495.tar.gz
Add procstat(1), a process inspection utility. This provides both some
of the missing functionality from procfs(4) and new functionality for monitoring and debugging specific processes. procstat(1) operates in the following modes: -b Display binary information for the process. -c Display command line arguments for the process. -f Display file descriptor information for the process. -k Display the stacks of kernel threads in the process. -s Display security credential information for the process. -t Display thread information for the process. -v Display virtual memory mappings for the process. Further revision and modes are expected. Testing, ideas, etc: cognet, sam, Skip Ford <skip at menantico dot com> Wesley Shields <wxs at atarininja dot org>
Diffstat (limited to 'usr.bin/procstat/Makefile')
-rw-r--r--usr.bin/procstat/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/usr.bin/procstat/Makefile b/usr.bin/procstat/Makefile
new file mode 100644
index 0000000..e3c77e4
--- /dev/null
+++ b/usr.bin/procstat/Makefile
@@ -0,0 +1,15 @@
+# $FreeBSD$
+
+PROG= procstat
+MAN= procstat.1
+SRCS= procstat.c \
+ procstat_args.c \
+ procstat_basic.c \
+ procstat_bin.c \
+ procstat_cred.c \
+ procstat_files.c \
+ procstat_kstack.c \
+ procstat_threads.c \
+ procstat_vm.c
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud