Re: Request for testing - top 3.8b1 in the base system

From: -K JohnNy <">
Date: Wed, 1 Oct 2008 16:24:50 +0200
On Sun, Sep 28, 2008 at 03:46:20PM +1000, Edwin Groothuis wrote:
> I have made an update for the top(1) utility in the FreeBSD base
> system to get it from the 3.5b12 version to the 3.8b1 version.
> 
> I have tried them on the amd64 architecture on FreeBSD -current and
> FreeBSD 7.0 and on the i386 architecture on FreeBSD 7.0.
> 
> The big new features are a line upper part with kernel statistics
> (context-switches, traps, interrupts, faults etc) and the FLG table
> (if you window is big enough)
> 
> Some features specific to FreeBSD (dual display (press m)), threaded
> processes, and jails have been ported to 3.8b1.
> 
> The biggest fix (AFAICT) is the TIME and CPU table for threaded
> processes, which are now calculated properly.
> 
> The new code can be found on
>     http://www.mavetju.org/~edwin/freebsd-top-3.8b1-A.tar.gz
> Go to 3.8b1/usr.sbin/top and run "make" there to produce the binary,
> then run it via "./top".
> 
> Please report any issues with it (compile time, run time) and a way
> to reproduce it (if possible). Thanks for your help!
> 
> Edwin

I found another bug. The new top doesn't handle newlines in full
commandlines correctly -- if there is a command whose commandline
contains a newline, which is quite common while some compilation is in
progress, it is just printed out as it is, breaking the
one-process-per-line layout.

-- 
(-K JohnNy alias Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] JohnNy64_at_swissjabber.org
[skype] JohnNy64-konik [abandoned]

Received on Wed Oct 01 2008 - 12:44:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC