From dds@istlab.dmst.aueb.gr  Fri Apr  6 17:51:03 2007
Return-Path: <dds@istlab.dmst.aueb.gr>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 9473A16A407
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Apr 2007 17:51:03 +0000 (UTC)
	(envelope-from dds@istlab.dmst.aueb.gr)
Received: from istlab.dmst.aueb.gr (istlab.dmst.aueb.gr [195.251.249.147])
	by mx1.freebsd.org (Postfix) with ESMTP id D250913C4CC
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  6 Apr 2007 17:51:02 +0000 (UTC)
	(envelope-from dds@istlab.dmst.aueb.gr)
Received: from istlab.dmst.aueb.gr (localhost [127.0.0.1])
	by istlab.dmst.aueb.gr (8.13.8/8.13.8) with ESMTP id l36HG35l064035
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 6 Apr 2007 20:16:03 +0300 (EEST)
	(envelope-from dds@istlab.dmst.aueb.gr)
Received: (from dds@localhost)
	by istlab.dmst.aueb.gr (8.13.8/8.13.8/Submit) id l36HG3hf064031;
	Fri, 6 Apr 2007 20:16:03 +0300 (EEST)
	(envelope-from dds)
Message-Id: <200704061716.l36HG3hf064031@istlab.dmst.aueb.gr>
Date: Fri, 6 Apr 2007 20:16:03 +0300 (EEST)
From: Diomidis Spinellis <dds@istlab.dmst.aueb.gr>
Reply-To: Diomidis Spinellis <dds@istlab.dmst.aueb.gr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Percentages reported by sa(8) are off by a factor of 100
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         111329
>Category:       bin
>Synopsis:       Percentages reported by sa(8) are off by a factor of 100
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dds
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 06 18:00:11 GMT 2007
>Closed-Date:    Wed Apr 18 06:32:07 GMT 2007
>Last-Modified:  Wed Apr 18 06:40:02 GMT 2007
>Originator:     Diomidis Spinellis
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD istlab.dmst.aueb.gr 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Tue Apr 3 23:51:02 EEST 2007 dds@istlab.dmst.aueb.gr:/usr/obj/usr/src/sys/ISTLAB i386


>Description:
	The percenteges reported by sa(8) are in fact the ratios n/sum, and
	therefore off by a factor of 100.
>How-To-Repeat:
	On a system with accounting enabled run sa -cn.  Sum the contents of the second
	column.  They sum up to 1, instead of 100.
>Fix:
	Correct the printfs in pdb.c


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: dds 
State-Changed-When: Fri Apr 6 19:25:36 UTC 2007 
State-Changed-Why:  
Submitter is perparing  a fix to commit. 


Responsible-Changed-From-To: freebsd-bugs->dds 
Responsible-Changed-By: dds 
Responsible-Changed-When: Fri Apr 6 19:25:36 UTC 2007 
Responsible-Changed-Why:  
Submitter is perparing  a fix to commit. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111329 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/111329: commit references a PR
Date: Sat,  7 Apr 2007 06:38:27 +0000 (UTC)

 dds         2007-04-07 06:38:19 UTC
 
   FreeBSD src repository
 
   Modified files:
     usr.sbin/sa          pdb.c 
   Log:
   Fix the output of percentage figures, which mistakenly were
   the corresponding ratios.
   
   PR:             bin/111329
   MFC after:      10 days
   
   Revision  Changes    Path
   1.12      +12 -9     src/usr.sbin/sa/pdb.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: dds 
State-Changed-When: Wed Apr 18 06:30:17 UTC 2007 
State-Changed-Why:  
Fix committed and MFC'd 

http://www.freebsd.org/cgi/query-pr.cgi?pr=111329 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/111329: commit references a PR
Date: Wed, 18 Apr 2007 06:30:04 +0000 (UTC)

 dds         2007-04-18 06:29:55 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     usr.sbin/sa          pdb.c 
   Log:
   MFC revision 1.12
   Fix the output of percentage figures, which mistakenly were
   the corresponding ratios.
   
   PR:             bin/111329
   
   Revision  Changes    Path
   1.11.2.1  +12 -9     src/usr.sbin/sa/pdb.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
