How to Check Linux Server Uptime and Last Reboot
Introduction
As a DBA or system administrator, it is important to know how long your Linux server has been running and when it was last rebooted. This helps in diagnosing issues and planning maintenance.
1. Check Uptime
Run the command:
uptime
👉 This shows how long the system has been running, number of users, and load averages.
2. Check Last Reboot
Run:
who -b
👉 This displays the date and time of the last system boot.
3. View Reboot History
Run:
last reboot | head -5
👉 This lists the last 5 reboot events.
Conclusion
By using simple Linux commands like uptime, who -b, and last reboot, you can quickly check the stability of your server. These commands are must-know for every Linux and Oracle DBA.

Comments
Post a Comment