Total Uptime

Archived topics about LMDE 1
Forum rules
finjs
Level 1
Level 1
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Total Uptime

Postby finjs » Sat Jul 07, 2012 4:27 am

Is there a utility in LMDE (a command?) that can display how long a computer's been on?
Thanks.
Last edited by finjs on Sat Jul 07, 2012 8:33 am, edited 1 time in total.

jjaythomas
Level 5
Level 5
Posts: 603
Joined: Sun Mar 07, 2010 12:52 pm

Re: Total Worktime

Postby jjaythomas » Sat Jul 07, 2012 5:27 am

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

User avatar
Mr. B
Level 3
Level 3
Posts: 145
Joined: Sun Apr 27, 2008 9:03 am
Contact:

Re: Total Worktime

Postby Mr. B » Sat Jul 07, 2012 6:15 am

Simply open the terminal and type: top
It also shows the uptime.....

finjs
Level 1
Level 1
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Re: Total Worktime

Postby finjs » Sat Jul 07, 2012 6:38 am

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?

finjs
Level 1
Level 1
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Re: Total Uptime

Postby finjs » Sat Jul 07, 2012 8:35 am

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
Attachments
calculate-total-uptime-pc.png
calculate-total-uptime-pc.png (141.31 KiB) Viewed 1583 times

jjaythomas
Level 5
Level 5
Posts: 603
Joined: Sun Mar 07, 2010 12:52 pm

Re: Total Uptime

Postby jjaythomas » Sat Jul 07, 2012 11:32 am

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 :?:

finjs
Level 1
Level 1
Posts: 36
Joined: Tue Jun 26, 2012 10:28 am
Location: France

Re: Total Uptime

Postby finjs » Sat Jul 07, 2012 1:07 pm

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


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 11 guests