mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
3ac5e95583
for users who are root, or in group wheel. This is useful on large timesharing systems where a PS command can cause the system to grind to a halt. The ability to get the information isn't diminished for those who really need the additional detail (administrators.) Normal users won't see any difference unless the processes are swapped out. The "really get it mode" is invoked by the use of an additional flag in the command string "-f". New/old behavior is selectable with a compile option. PR: 5196 Submitted by: Matt Dillon <dillon@best.net>
19 lines
434 B
Makefile
19 lines
434 B
Makefile
# $Id: Makefile,v 1.10 1997/08/13 17:35:00 steve Exp $
|
|
# @(#)Makefile 8.1 (Berkeley) 6/2/93
|
|
|
|
PROG= ps
|
|
SRCS= fmt.c keyword.c nlist.c print.c ps.c
|
|
#
|
|
# To support "lazy" ps for non root/wheel users
|
|
# add -DLAZY_PS to the cflags. This helps
|
|
# keep ps from being an unnecessary load
|
|
# on large systems.
|
|
#
|
|
CFLAGS+=-I${.CURDIR}/../../sys -DLAZY_PS
|
|
DPADD= ${LIBM} ${LIBKVM}
|
|
LDADD= -lm -lkvm
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
|
|
.include <bsd.prog.mk>
|