To see when last your linux server was restarted run the following command:
last reboot | head -1
This will give you the date and time when the server was last restarted, if this result is blank that generally means your server did not have a clean shutdown and hence no record of the shutdown, most likely a server crash of some sort.
The best to run in that case is:
uptime
This will return the amount of time the server has been up. Regardless of a clean shutdown or not. Linux is one of the most stable environments I have worked in, especially when it comes to web hosting. The problem is generally in the setup which can cause you more pain than gain.
I recommend pulling out the few extra bucks for that initial server setup by an expert, which in the long run will save you days of frustration. Linux is stable, but only if setup correctly. At the end of the day, all servers and systems are only as stable as the administrator's technical knowledge.
By PHPin24 @ 2010-01-11 11:05:21
|