freebsd-skq/bin/ps
gad 4586528554 Have the main() routine calculate %CPU and (if needed) memory information
when copying per-process info before starting to sort the list.  This way,
sort-by-CPU or sort-by-memory will only calculate values once-per-process,
instead of twice-per-comparison.  Also take advantage of this to simplify
the pscomp() routine.
2004-06-20 21:25:10 +00:00
..
extern.h Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
fmt.c Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
keyword.c Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
Makefile style.Makefile: 2004-02-23 20:05:14 +00:00
nlist.c Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
print.c Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
ps.1 Add pgrep(1) and pkill(1) to the cross-reference section of ps(1). 2004-05-25 14:05:25 +00:00
ps.c Have the main() routine calculate %CPU and (if needed) memory information 2004-06-20 21:25:10 +00:00
ps.h Have the main() routine calculate %CPU and (if needed) memory information 2004-06-20 21:25:10 +00:00