Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well I was going for a record running for a personal reocrd on system uptime
then today the GUI locked up and then thereafter seemed the system stopped
responding all together...
I was had my system up at least 4 months. How do I find out the date the system
was last restarted so I can calculate just how long the system was on.
The system logs don't go back that far as they are rotating log files and are
overwritten every so often.
Hah, didn't know that. Guess I should do `man` more often before I go giving advice. I just love that command because of the simplicity and functionality of it. On Windows I was always wondering how long my computer had been on. Thanx for your help.
And one solution I could suggest, it probably wouldn't be the most accurate. But if you can remember a file you saved around 4 months ago, like when you first turned your computer on for the marathon, maybe if you look at the date created it could give you some point of reference.
I'm aware that what I just suggested works for the wrong reasons, but at least it should work...at least in theory. ^_^
Last edited by shadoxx428; 10-09-2005 at 11:51 AM.
Originally posted by icehenge thanks for all the replys, looks like i'm not gonna be able to find out.
I roughly calculated 4 1/2 months, pretty good i figure.
take care all
alex
You can look in here /var/logs/messages might take some time but it is in there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.