e Learning

How To Check Server Uptime In Linux

We Can use uptime Command To Check server uptime in Linux. Output will Display how long the system has been running. Open Terminal and Type

uptime

You Should get the output of one line like below

11:36:19 up  1:54,  3 users,  load average: 1.61, 1.66, 1.67

First Value indicates the current time on Your Linux Machine. Next is, the word up, followed by the server uptime. As per the above output server has been running for 1 Hour and 54 Minutes.

Uptime Command also Display how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

Uptime command works on every Linux Distributions including RedHat, CentOS, Debian and Ubuntu.