The uptime command produces a single line of output that shows the current time, how long the system has been running (in minutes) since it was booted up, how many user sessions are currently open and the load averages.
The load averages are the average numbers of processes that were active during the past one, five and fifteen minutes. A process is an executing (i.e., running) instance of a program.
The number of user sessions open can include multiple sessions for a single user. For example, if a user logs in to a GUI (graphical user interface) and then opens two terminal windows (i.e., all-text windows in a GUI), this would be counted as three user sessions.
The syntax for uptime is
There is only one option: it is -V, which shows the current version number.
The information provided by uptime is the same as that provided in the first line of output by the w command (which is used to show which users are currently logged into the system and what they are doing).
Created March 16, 2005.