From owner-freebsd-bugs@FreeBSD.ORG Sun Aug 13 16:20:15 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1501916A4DE for ; Sun, 13 Aug 2006 16:20:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C5DC43D46 for ; Sun, 13 Aug 2006 16:20:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7DGKEYE055667 for ; Sun, 13 Aug 2006 16:20:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7DGKEb5055666; Sun, 13 Aug 2006 16:20:14 GMT (envelope-from gnats) Resent-Date: Sun, 13 Aug 2006 16:20:14 GMT Resent-Message-Id: <200608131620.k7DGKEb5055666@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Roberto Lima Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 996AA16A4DF for ; Sun, 13 Aug 2006 16:11:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 622B743D45 for ; Sun, 13 Aug 2006 16:11:53 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7DGBrca012369 for ; Sun, 13 Aug 2006 16:11:53 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7DGBrQb012368; Sun, 13 Aug 2006 16:11:53 GMT (envelope-from nobody) Message-Id: <200608131611.k7DGBrQb012368@www.freebsd.org> Date: Sun, 13 Aug 2006 16:11:53 GMT From: Roberto Lima To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: bin/101975: [PATCH] Adding percents in /usr/src/usr.bin/systat/pigs.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Aug 2006 16:20:15 -0000 >Number: 101975 >Category: bin >Synopsis: [PATCH] Adding percents in /usr/src/usr.bin/systat/pigs.c >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 13 16:20:13 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Roberto Lima >Release: FreeBSD 6.1-STABLE >Organization: ForBrazil >Environment: FreeBSD bsd.forbr.com.br 6.1-STABLE FreeBSD 6.1-STABLE #1: Tue Jun 27 17:20:15 BRT 2006 root@bsd.forbr.com.br:/usr/src/sys/i386/compile/ForBrazil i386 >Description: I see that systat -pigs don't shows percents in /0 ... /100, so I make this patch. >How-To-Repeat: # systat -pigs /0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100 root idle: cpu0 XXXXXXXXXXXXXXX >Fix: --- /usr/src/usr.bin/systat/pigs.c.old Fri Jun 2 10:40:01 2006 +++ /usr/src/usr.bin/systat/pigs.c Sun Aug 13 13:01:26 2006 @@ -236,7 +236,7 @@ wmove(wnd, 0, 0); wclrtoeol(wnd); mvwaddstr(wnd, 0, 20, - "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100"); + "/0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100%"); } int >Release-Note: >Audit-Trail: >Unformatted: