Subject: bin/1302: impossible output from sa(8).
To: None <gnats-bugs@NetBSD.ORG>
From: Simon J. Gerraty <sjg@zen.void.oz.au>
List: netbsd-bugs
Date: 08/01/1995 09:16:41
>Number:         1302
>Category:       bin
>Synopsis:       sa(8) produced impossibly high cpu figure for a user.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 31 21:20:01 1995
>Last-Modified:
>Originator:     Simon J. Gerraty
>Organization:
Zen Programming...
>Release:        NetBSD-current 950508
>Environment:
	
System: NetBSD zen.void.oz.au 1.0A NetBSD 1.0A (ZEN) #3: Fri Jun 16 09:36:33 EST 1995 root@zen.void.oz.au:/f1/usr.src/sys/arch/i386/compile/ZEN i386


>Description:
	
End of month accounting involves running sa -ms this months results were:

root        106978       243.88cpu      2045426tio           0k*sec
daemon          29         0.16cpu         1101tio           0k*sec
news         24709        28.01cpu       110563tio           0k*sec
uucp         30480        45.52cpu       279359tio           0k*sec
nuucp            5         0.02cpu          195tio           0k*sec
sjg         188572       355.53cpu      1405802tio           0k*sec
bcd             44         0.23cpu         1287tio           0k*sec
aeg            658    983121.23cpu        30466tio           0k*sec
jng            247         4.45cpu         6074tio           0k*sec
nobody        1175        18.08cpu       134663tio           0k*sec

sjg is logged in all the time and apart from root accounts for most
activity on the system. 

aeg was logged in for less than 2 days in the month.

>How-To-Repeat:
	
Not easy.  This is the first time this has happened.  The acct file
that sa processed is of course now gone...

I can provide the savacct file if that helps.

>Fix:
	
>Audit-Trail:
>Unformatted: