Date: Mon, 12 Feb 2001 22:48:00 -0800 (PST) From: mikea@kconline.com To: freebsd-gnats-submit@FreeBSD.org Subject: misc/25055: Header in 'top' too long for SMP system and wraps distorting ouput Message-ID: <200102130648.f1D6m0832358@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 25055 >Category: misc >Synopsis: Header in 'top' too long for SMP system and wraps distorting ouput >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 12 22:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Mike Atkinson >Release: 4.2-Stable >Organization: KC Online >Environment: FreeBSD ns.kconline.com 4.2-STABLE FreeBSD 4.2-STABLE #3: Mon Feb 12 21:40:27 EST 2001 mikea@nfs-bk0.kconline.com:/usr/obj/usr/src/sys/WWW i386 >Description: When top is run on an SMP processor machine, the column header is too long and wraps into the output area of the display. >How-To-Repeat: Run top on an SMP machine. :^) >Fix: Change header to use 'CMD' instead of 'COMMAND' so that header fits on screen. Relevant code is in /usr/src/usr.bin/top/machine.c diff machine.c machine.c.new 114c114 < " PID %-*.*s PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND"; --- > " PID %-*.*s PRI NICE SIZE RES STATE C TIME WCPU CPU CMD"; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102130648.f1D6m0832358>