Forever & AlwaysLINUX COMMAND ATLAS

LINUX COMMAND ATLAS · COMMAND GUIDE

Linux uptime command

Show how long the system has been running and its load averages.

procps-ng

Syntax

Command form
uptime [OPTION]...

Common options

4 options
OptionWhat it does
-p, --prettyShow uptime in a human-friendly format.
-s, --sinceShow the time the system started.
--helpDisplay help and exit (where supported).
--versionDisplay version and exit (where supported).

Usage examples

2 examples

Show how long the system has been running and its load averages.

uptime

Show only a readable uptime duration.

uptime -p

Notes

Load averages are system-wide averages over 1, 5 and 15 minutes, not CPU percentages.