Re: ps says process has been running for 49710 days

2009-05-25 Thread Tim Judd
On Sun, May 24, 2009 at 11:59 PM, Kelly Jones
kelly.terry.jo...@gmail.comwrote:

 I use /bin/ps -www -ax -eo 'pid etime args' to see how long a
 process has been running. This usually works fine, but I sometimes see
 things like:

 17469 49710-06:28:15 /usr/bin/fly -q -i [...]

 indicating a process has been running for 49710+ days.

 I originally thought that was the time from the Unix epoch, but it's
 actually near 13 Dec 1901.

 I can easily workaround this, but was curious if anyone knew more about it?



I use PC Engines ALIX boards who don't have a CMOS battery to keep hardware
clock on times there is no power on the board.

Because of that you have to set the clock on bootup by some means such as
ntpd or ntpdate.  If a shell is currently open when the time is set, you get
some weird numbers too.

So my question to you is if this is a board that has the same hardware
problems?

Is it a bad RTC that prevents accurate timekeeping?  need to tune
kern.clockrate?
tune kern.timecounter.choice?



Good luck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ps says process has been running for 49710 days

2009-05-24 Thread Kelly Jones
I use /bin/ps -www -ax -eo 'pid etime args' to see how long a
process has been running. This usually works fine, but I sometimes see
things like:

17469 49710-06:28:15 /usr/bin/fly -q -i [...]

indicating a process has been running for 49710+ days.

I originally thought that was the time from the Unix epoch, but it's
actually near 13 Dec 1901.

I can easily workaround this, but was curious if anyone knew more about it?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org