Bug #1617
top - move top to vendor/TOP and update to 3.8beta1
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - |
Description
Relevant bits are here:
http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/top_update
http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/vendor/TOP
This version of top defaults to diplay CPU on a single line. Multiline
CPU dislay can be enabled with "-M".
Regards,
Jan
Related todos
History
Updated by TGEN over 3 years ago
Jan Lentfer wrote:
> This version of top defaults to diplay CPU on a single line. Multiline
> CPU dislay can be enabled with "-M".
Why not -C as on FreeBSD?
--
Thomas E. Spanjaard
tgen@netphreax.net
tgen@deepbone.net
Updated by lentferj over 3 years ago
Jan Lentfer schrieb:
> Relevant bits are here:
>
> http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/top_update
>
> http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/vendor/TOP
>
>
> This version of top defaults to diplay CPU on a single line. Multiline
> CPU dislay can be enabled with "-M".
I just figured out that it is not working on i386 (I made the patches on
x86_64). So be aware that this will only work on x86_64. Also man page
is broken (fixed that already). Will commit all the fixes with i386-fix.
Jan
Updated by lentferj over 3 years ago
-C is taken for "Color" mode in 3.8beta1.
Updated by lentferj over 3 years ago
Jan Lentfer schrieb:
> Jan Lentfer schrieb:
>> Relevant bits are here:
>>
>> http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/top_update
>>
>> http://gitweb.dragonflybsd.org/~lentferj/dragonfly.git/shortlog/refs/heads/vendor/TOP
>>
>>
>> This version of top defaults to diplay CPU on a single line. Multiline
>> CPU dislay can be enabled with "-M".
>
> I just figured out that it is not working on i386 (I made the patches on
> x86_64). So be aware that this will only work on x86_64. Also man page
> is broken (fixed that already). Will commit all the fixes with i386-fix.
The problems are fixed and this should be ready now. Along the way I
also fixed a problem in the original top source that would lead to
segfault when passing wrong number of arguments to renice function.
Jan
Updated by lentferj over 3 years ago
As discussed on IRC attached is the style and unused code cleanup patch
for usr.bin/top/m_dragonfly.c
Cheers
Jan
Updated by lentferj over 3 years ago
Committed.