how to find out the reason when the system stops
I am running a private Linux server on the Internet.
Sometimes I find my system was shut down without any guess.
I guess that happened by the reason of kernel aborts, my operation miss, etc.
But I do not know why.
How can I know the last event when the system stops for fixing above?