Linux Commands | Process Management | uptime Current Time, Time Since Boot, Logged-in Users, and System Load

uptime Command

The uptime command displays the following information.

  • Time elapsed since the system booted
  • Number of logged-in users
  • Average system load over the last 1, 5, and 15 minutes

Usage

Enter the command as shown in the following example.

% uptime
 8:37  up 22:25, 2 users, load averages: 2.24 5.27 3.76

The output above can be interpreted as follows.

  • The current time is 8:37.
  • 22 hours and 48 minutes have passed since boot.
  • Two users are logged in to the system.
  • System load
    • The average system load over the last 1 minute is 2.24.
    • The average system load over the last 5 minutes is 5.27.
    • The average system load over the last 15 minutes is 3.75.