freebsd-nq/bin/ps
Poul-Henning Kamp e796e00de3 Some cleanups related to timecounters and weird ifdefs in <sys/time.h>.
Clean up (or if antipodic: down) some of the msgbuf stuff.

Use an inline function rather than a macro for timecounter delta.

Maintain process "on-cpu" time as 64 bits of microseconds to avoid
needless second rollover overhead.

Avoid calling microuptime the second time in mi_switch() if we do
not pass through _idle in cpu_switch()

This should reduce our context-switch overhead a bit, in particular
on pre-P5 and SMP systems.

WARNING:  Programs which muck about with struct proc in userland
will have to be fixed.

Reviewed, but found imperfect by:       bde
1998-05-28 09:30:28 +00:00
..
extern.h If no value is present for the login name set it to '-'. 1998-05-25 05:07:18 +00:00
fmt.c Correct use of .Nm. Add rcsid. 1998-05-15 06:30:58 +00:00
keyword.c If no value is present for the login name set it to '-'. 1998-05-25 05:07:18 +00:00
Makefile Add an option to building PS, so that the upages are explicitly paged in only 1997-12-05 07:33:40 +00:00
nlist.c Correct use of .Nm. Add rcsid. 1998-05-15 06:30:58 +00:00
print.c Some cleanups related to timecounters and weird ifdefs in <sys/time.h>. 1998-05-28 09:30:28 +00:00
ps.1 Correct use of .Nm. Add rcsid. 1998-05-15 06:30:58 +00:00
ps.c Correct use of .Nm. Add rcsid. 1998-05-15 06:30:58 +00:00
ps.h Dynamically adjust size of displayed username to the longest username which 1997-04-29 05:26:05 +00:00