tsutsui
791606eb62
Sync usage with man page.
2008-12-13 09:05:56 +00:00
christos
809d48d0cb
back emalloc out, I don't want it.
2008-12-12 23:10:08 +00:00
christos
56a682bfb8
- handle memory allocations gracefully using e-functions instread of
...
core-dumping.
- if the display is too small bail out.
2008-12-12 23:09:08 +00:00
apb
96230fab84
Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
...
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
gmcgarry
5a8a518ea5
Both legs of conditional operator must return the same type.
2008-08-29 00:36:27 +00:00
cube
c32922f166
Make sure format_next_{proc,lwp} return a pointer to a buffer at least
...
MAX_COLS long otherwise a '\0' might be printed in a random place of
memory.
2008-08-02 23:20:16 +00:00
christos
3e1a92fedd
PR/39200: Geoff Wing: Fix memory stomping on multi-cpu machines.
2008-07-24 15:10:34 +00:00
christos
1fb97e154d
- fix p for threads
...
- more sane ordering for thread command, username, and pid
2008-07-21 19:29:36 +00:00
christos
14f5b40f23
put back -p, add sort order for pid, username, command. XXX: should add reverse
...
sorting order too.
2008-07-20 18:52:06 +00:00
christos
d6a52d8265
add -1 to usage
2008-07-20 00:11:04 +00:00
lukem
6ea5514d2c
Move usr.bin/top/Makefile -> bin/Makefile, and tweak accordingly:
...
- bin (instead of usr.bin) follows ../README
- no point having a sub-subdir for a single reachover (bin vs bin/top),
although we could debate the pros & cons of that endlessly.
2008-07-17 10:46:56 +00:00
christos
d50e0bba82
remove unnecessary defines
2008-07-16 14:29:11 +00:00
christos
a8f5847fc4
allow fractional second values like lunix does.
2008-07-16 14:27:26 +00:00
christos
72572e11a6
change the order that we build config.h
2008-07-16 11:30:36 +00:00
christos
5734987052
subst machine
2008-07-16 01:54:17 +00:00
christos
689a2f13d6
need to generate config.h dynamically
2008-07-16 01:51:56 +00:00
christos
f8e8331d64
more Makefile glue
2008-07-16 00:41:50 +00:00
christos
2b60e3f28a
add build glue and local fixes
2008-07-16 00:36:14 +00:00
christos
10dd2532a5
import latest top
2008-07-16 00:20:32 +00:00