6b83e78dff
flag to procstat. - Add an -H flag to request information about threads rather than processes when dumping statistics. Currently it is only used for -r to display resource usage for individual threads instead of the entire process. Reviewed by: kib (older version without -H) MFC after: 1 month
23 lines
404 B
Makefile
23 lines
404 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= procstat
|
|
MAN= procstat.1
|
|
SRCS= procstat.c \
|
|
procstat_args.c \
|
|
procstat_auxv.c \
|
|
procstat_basic.c \
|
|
procstat_bin.c \
|
|
procstat_cred.c \
|
|
procstat_files.c \
|
|
procstat_kstack.c \
|
|
procstat_rlimit.c \
|
|
procstat_rusage.c \
|
|
procstat_sigs.c \
|
|
procstat_threads.c \
|
|
procstat_vm.c
|
|
|
|
LDADD+= -lutil -lprocstat -lkvm
|
|
DPADD+= ${LIBUTIL} ${LIBPROCSTAT} ${LIBKVM}
|
|
|
|
.include <bsd.prog.mk>
|