[RFC] what should 'uptime' be on suspend?
From: Bill Davidsen
Date: Thu Jul 19 2007 - 22:42:34 EST
I just found a machine which will resume after suspend to memory, using
the mainline kernel (no suspend2 patch).
On resume I was looking at the uptime output, and it was about six
minutes, FAR longer than the time since resume. So the topic for
discussion is, should the uptime be
- time sine the original boot
- total uptime since first boot, not counting the time suspended
- time since resume
- some other time around six minutes
Any of the first three could be useful and "right" for some casesm thus
discussion invited.
--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/