Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 114617 - sa and lastcomm display wrong times
sa and lastcomm display wrong times
Status: CLOSED DUPLICATE of bug 89959
Product: Fedora
Classification: Fedora
Component: psacct (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Charlie Bennett
Depends On:
  Show dependency treegraph
Reported: 2004-01-30 02:59 EST by Herbert Gasiorowski
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:01:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Herbert Gasiorowski 2004-01-30 02:59:17 EST
Description of problem:
When displaying the summary accounting report sa or the list of
accounting data with lastcomm the time-data is 10 times too high.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run a program which eats some cputime:
   $ time testprog
   real    0m5.761s
   user    0m5.756s
   sys     0m0.004s
2.check the time with lastcomm:
   $ lastcomm testprog
   cryps                   gasi     stdout    57.61 secs Fri Jan 30     

Actual Results:  
The time shown by lastcomm (and sa) is 10 times the time of the

Expected Results:  Times should be the same

Additional info:

- sa and lastcomm use #define AHZ from /usr/include/acct.h which is
100 but should be 1000
- the same applies to kernel-source-2.6.1-1.61
Comment 2 Charlie Bennett 2004-04-07 13:50:49 EDT

*** This bug has been marked as a duplicate of 89959 ***
Comment 3 Red Hat Bugzilla 2006-02-21 14:01:00 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.