‘uptime‘, ‘w‘ & ‘top‘ command are used to check the uptime of a Linux Server.
This command tells how long the system has been running. It also gives a one-line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.
with help of the w command, we can check uptime along with currently logged-in users. It will also display the load average.
with the help of the top command, we can determine uptime. But the top command is primarily a dynamic real-time view of a running system. It can display system summary information as well as a list of tasks currently being managed by the Linux kernel.