“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:
w : with help of w command we can check uptime along with currently logged in users. It will also display the load average.
Example :
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 :
0 comments:
Post a Comment