Command To Check uptime of Linux Server

‘uptime’ , ‘w’ & ‘top’ command are  used to check the uptime of a Linux Server.

uptime :

This command tell 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.

 Example:

uptime

w :

with help of w command we can check uptime  along with currently logged in users. It will also display the load average.

Example :

w-command

top :

with the help of top command we can determine  up time. But top command is primarily  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.

Example :

top-command

Leave a Reply

Your email address will not be published. Required fields are marked *