Date: Fri, 6 Apr 2007 20:16:03 +0300 (EEST) From: Diomidis Spinellis <dds@istlab.dmst.aueb.gr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/111329: Percentages reported by sa(8) are off by a factor of 100 Message-ID: <200704061716.l36HG3hf064031@istlab.dmst.aueb.gr> Resent-Message-ID: <200704061800.l36I0BZ7084726@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111329 >Category: bin >Synopsis: Percentages reported by sa(8) are off by a factor of 100 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Apr 06 18:00:11 GMT 2007 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704061716.l36HG3hf064031>