$ curl cheat.sh/
 cheat:uptime 
---
tags: [ system reporting ]
---

# syntax of the command
uptime [option]

# single use, with output example
uptime

<current time>, <system state>, <running time>, <number of current logged in users>, <system load averages>

14:05:11        up              6:05,           1 user,                              load average: 0.46, 0.54, 0.55

# Filter the result to only show running time
uptime -p

# Filter the result to only show the date/time from when the system has been running
uptime -s

# Show the version of uptime
uptime -V

# Show the help page
uptime -h

 tldr:uptime 
# uptime
# Tell how long the system has been running and other information.
# More information: <https://www.gnu.org/software/coreutils/uptime>.

# Print current time, uptime, number of logged-in users and other information:
uptime

# Show only the amount of time the system has been booted for:
uptime --pretty

# Print the date and time the system booted up at:
uptime --since

# Show version information:
uptime --version

$
Follow @igor_chubin cheat.sh