Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

/proc/uptime shows how long the system has been running since the last time I turned it on. Is there a way to determine the total amount of time the system has ever been on since I first installed it? For example, if I setup the system, run it for 20 minutes, turn it off, and turn it on again for 10 minutes, I'm looking for something that tells me the system has been run for 30 minutes total. Is there a command that does this? What about one for finding the date the system was installed?

share|improve this question

marked as duplicate by derobert, Renan, Mat, uther, jasonwryan Feb 22 '13 at 18:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
The potential duplicate is how to figure out when the system was installed. I don't think there is a way to find out what the cumulative uptime is; nothing records that by default. At least not going back that far. –  derobert Feb 22 '13 at 17:17

Browse other questions tagged or ask your own question.