Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 15:03:44 +0200 (CEST)
From:      Andrzej Bialecki <abial@korin.warman.org.pl>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/4582: integer overflow in 'sa -km'
Message-ID:  <199709191303.PAA13501@korin.warman.org.pl>
Resent-Message-ID: <199709191310.GAA10761@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4582
>Category:       bin
>Synopsis:       integer overflow in 'sa -km'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 19 06:10:00 PDT 1997
>Last-Modified:
>Originator:     Andrzej Bialecki
>Organization:
Research and Academic Network
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	-current as of beginning of Sep

>Description:

	'sa -km' gives erroneous results, most probably because of
	integer overflow somewhere:
korin:~> sa -km
root        328808       514.41cpu      1723820tio4662999034058040619k
daemon         915        18.45cpu         3914tio4645041814295546394k
pwr           1937         0.54cpu         8940tio4674971065316569034k
abial         4695        22.93cpu        66703tio4657095280555631290k
pcg          23562         0.64cpu        50594tio4689191117479392754k
jacek            7         0.00cpu           56tio4667556731635506718k
krzych     3522459      2862.77cpu      4258301tio4664307048490154874k
rafal           51         0.06cpu          428tio4664439222741607509k
krzycki         19         0.02cpu          169tio4664848505141985280k
artw             9         0.02cpu          243tio4664990776516932444k
askrz           17         0.02cpu          180tio4665074672938562251k
lab              2         0.01cpu           32tio4665884345050952797k
nobody          30         1.20cpu        32049tio4642563007591943195k
korin:~>


>How-To-Repeat:

	Turn accounting ON. Issue 'sa -km'.

>Fix:
	
	Don't know.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709191303.PAA13501>