From owner-cvs-src@FreeBSD.ORG Wed May 18 13:30:12 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B08C216A4CE; Wed, 18 May 2005 13:30:12 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BEE143D3F; Wed, 18 May 2005 13:30:12 +0000 (GMT) (envelope-from keramida@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j4IDU8kL035626; Wed, 18 May 2005 13:30:08 GMT (envelope-from keramida@repoman.freebsd.org) Received: (from keramida@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j4IDU8FV035625; Wed, 18 May 2005 13:30:08 GMT (envelope-from keramida) Message-Id: <200505181330.j4IDU8FV035625@repoman.freebsd.org> From: Giorgos Keramidas Date: Wed, 18 May 2005 13:30:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/top commands.c machine.h top.c src/usr.bin/top machine.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2005 13:30:12 -0000 keramida 2005-05-18 13:30:08 UTC FreeBSD src repository (doc committer) Modified files: contrib/top commands.c machine.h top.c usr.bin/top machine.c Log: Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C' command that toggles between the two and update the ORDER_PCTCPU() macro to sort correctly by the visible "cpu" value. This saves 6 more columns in 80-column terminals, making things a lot better for the COMMAND column. Tested on: i386, sparc64 (panther), amd64 (sledge) Approved by: davidxu (in principle) Revision Changes Path 1.12 +1 -0 src/contrib/top/commands.c 1.7 +1 -0 src/contrib/top/machine.h 1.17 +22 -7 src/contrib/top/top.c 1.73 +23 -17 src/usr.bin/top/machine.c