Thanks Tom, yes, when I assume it's seconds, I get
uptime numbers like 22+02:22:54, which is 22 days,
2 hours, and some minutes/seconds.
- Brian
On Tue, May 30, 2017 at 03:10:04PM +0300, SP2L wrote:
Belows seem to give sensible answer:
root@linux:~# perl -e '@a=split(`/proc/uptime`);print
scalar(localtime(time()+$a[0] - 1922575.0)."\n");'
Mon May 8 09:06:38 2017
Best regards.
Tom - SP2L