System Info

uptime

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

Synopsis

syntax
uptime [OPTION]...

Examples

Show uptime, users, and load averages
uptime
Pretty format: up 2 days, 3 hours, 15 minutes
uptime -p
Show boot time
uptime -s

Common options

FlagDescription
-pShow in pretty format
-sShow system up since time

About uptime

The `uptime` command show how long the system has been running and current load averages. System information commands provide insight into hardware, kernel, memory, disk, and user session details.

These are typically the first tools you reach for when diagnosing system problems, capacity planning, or auditing a server's configuration. They work across most Linux distributions without additional packages.

The command accepts 2 commonly used flags shown above, though the full set of options is available in the man page (`man uptime`). The 3 examples on this page cover typical real-world usage patterns that you can copy and adapt for your own workflows.

Related commands

More System Info Commands

Other commands in the System Info category

Related tools