Linux "uptime" Command Line Options and Examples
Tell how long the system has been running.

uptime 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 min‐ utes. This is the same information contained in the header line displayed by w(1).


uptime [options]

Command Line Options:

show uptime in pretty format
uptime -p ...
display this help text
uptime -h ...
system up since, in yyyy-mm-dd HH:MM:SS format
uptime -s ...
display version information and exitFILES/var/run/utmpinformation about who is currently logged on/proc process informationAUTHORSuptime was written by Larry Greenfield ⟨⟩ and Michael K. Johnson ⟨⟩
uptime -V ...