Copied to clipboard


The uptime command displays the system's running time, load average, and number of currently logged in users.


  1. Display the system's uptime, number of users, and average load since boot:

    uptime -a
  2. Same as a, but show the total CPU time in a human-readable format:

    uptime -b
  3. Specify the directory path to show the process information:

    uptime -p /var/run/
  4. Display version information:

    uptime -V
  5. Output the information in a more readable and formatted way:

    uptime --pretty