Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 7051 - ps reports wrong info when uptime greater than 249 days
ps reports wrong info when uptime greater than 249 days
Product: Red Hat Linux
Classification: Retired
Component: procps (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
Depends On:
  Show dependency treegraph
Reported: 1999-11-16 14:01 EST by Damon Gunther
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-09-22 08:41:31 EDT
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 Damon Gunther 1999-11-16 14:01:46 EST
For a 5.2 machine, ps output is has incorrect time/date info if the uptime
is over 249 days.  Any process started has the date of the 249th day
instead of the current time and processes started at boot have a time
instead of a date.

Here is the output from a box up 263 days:

11:31am  up 263 days, 25 min, 14 users,  load average: 0.00, 0.00, 0.00

Tue Nov 16 11:32:24 EST 1999

ps auxw:  (xterm just started)
root      2337  0.0  1.2  2436  1580  pb S   Nov  2   0:00 xterm

ps auxw: (for init)
root         1  0.0  0.0   776    68  ?  S    14:33   0:08 init

The behavior is also on a box that has been up for 323 days.
Comment 1 Michael K. Johnson 2000-07-31 16:08:31 EDT
Try upgrading procps -- see
Comment 2 Damon Gunther 2000-08-08 11:05:41 EDT
Unfortunately, I am unable to test this now.  The boxes that were up that long
have been rebooted.
The box that was up 323 days made it to 385 (yay!) and then was reinstalled with
6.1.  Currently,
it is working on 180 days, so I should see if the bug is gone in 2 months.  I
will let you know.

I am running procps 2.0.4.  I see 2.0.7 is at the FTP site you sent.  I will
wait to upgrade the package
until I reach ~249 days and then, if there is a problem, see if the update

Comment 3 Damon Gunther 2000-09-22 08:41:29 EDT
That did it!  The 5.2 machine in question was running procps-1.2.9-2.
I built the 2.0.7 binaries and it displayed the correct dates in ps.  Thanks!
(Sadly, it won't matter much longer since the machine is going to 6.2 today. :)

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