LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   reason for system shutdown (http://www.linuxquestions.org/questions/linux-security-4/reason-for-system-shutdown-329991/)

manjushp 06-03-2005 12:57 PM

reason for system shutdown
 
I was just wondering if there is way to know why the system has shut down. I have an FC3 and was on vacation. I was getting onto the system through ssh. But sometime later the system was powered off. I asked someone back at my lab to restart it. I check through "last" command that it was on for just 1 hour. I could not find the reason. How do i find the reason for shutdown.

masand 06-03-2005 01:06 PM

just run

last root

this will tell u when u had a crash or a normal shutdown etc

regards


All times are GMT -5. The time now is 03:33 AM.