Page 1 of 1

Total Uptime

Posted: Sat Jul 07, 2012 4:27 am
by finjs
Is there a utility in LMDE (a command?) that can display how long a computer's been on?
Thanks.

Re: Total Worktime

Posted: Sat Jul 07, 2012 5:27 am
by jjaythomas
i believe in LMDE or LMDX (XFCE) or the 'Main editions you can get from...

'System profilier and benchmark (operating tab)
or
the command inxi in a terminal (also a CLI command for only uptime, can't remember thou)
plus usually a
panel plugin (their is for XFCE) or a 'conky" system bar/table. :wink:


J.Jay

Re: Total Worktime

Posted: Sat Jul 07, 2012 6:15 am
by M_aD
Simply open the terminal and type: top
It also shows the uptime.....

Re: Total Worktime

Posted: Sat Jul 07, 2012 6:38 am
by finjs
Thanks guys, you're great. But unless I missed something, it's not really what I want to know. I'd like to know the TOTAL worktime from the very FIRST time the machine has been turned on, let's say the TOTAL uptime. Not the current uptime that's the time since the last time the machine has been turned on. Whatever the OS the computer might have run in the past. I know the information is stored somewhere in any machine but can it be accessed?

Re: Total Uptime

Posted: Sat Jul 07, 2012 8:35 am
by finjs
Something like that. Though the total uptime shown there is the total uptime since the current OS started running. But it's better than nothing.
The following command may help, I think.

Code: Select all

last reboot shutdown

Re: Total Uptime

Posted: Sat Jul 07, 2012 11:32 am
by jjaythomas
TOTAL worktime from the very FIRST time the machine has been turned on, let's say the TOTAL uptime. Not the current uptime that's the time since the last time the machine has been turned on.
If theirs a variable holding that it would be in the 'BIOS' (otherwise a HD change would clear it)! (CMOS maybe :?: )
The BIOS can't access from OS (but getting some info from BIOS is possible (probably varies by BIOS puter uses)

J.Jay :?:

Re: Total Uptime

Posted: Sat Jul 07, 2012 1:07 pm
by finjs
You're right, JJay. I've googled on the topic a lot. The total time a machine has been on was supported by Apple computers in the nineties only. Today System 10 doesn't offer it any longer. As an ex-Apple developer, I remember pretty well seeing that piece of information in System 9. Obviously, at that time, no one could change OS...
Then I wrongly assumed the information was accessible on all computers but it's not. Not even in the BIOS. Yet I doubt computer manufacturers don't keep the time-on somewhere because it's a crucial piece of information with defective computers.
In fact, the only time-on users can get is the one since the last system install. What Everest provides on PC. The following thread may show how to calculate it in a Linux environment.
https://discussions.apple.com/thread/49 ... 0&tstart=0