PowerOnSeconds?

Posted by: tman

PowerOnSeconds? - 03/03/2002 20:11

Does anybody have a sane value for PowerOnSeconds in /proc/empeg_state?

Mine's at 1047386494 seconds which is kind of hard to believe...

- Trevor
Posted by: TheAmigo

Re: PowerOnSeconds? - 03/03/2002 20:37

Seems fairly reasonable as a time (not a duration).
Posted by: tman

Re: PowerOnSeconds? - 03/03/2002 21:07

Yeah. But 1047386494 is "Tue Mar 11 12:41:34 2003"
The RTC on the empeg is only a few minutes off real time so it shouldn't think it's 2003.

I've had a look at the kernel source and if the value was ever invalid then it wouldn't know because it just always increments it. And also from what I can tell it should actually show the number of seconds it's been on and not the number of seconds since 1970.

- Trevor