Beginner Package: procps

uptime

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

Syntax

uptime

Description

uptime reports the current time, how long the system has been up, the number of logged-in users and the 1/5/15-minute load averages, useful as a very fast first health check.

Examples

uptime
Show uptime, users and load averages
uptime -p
Show uptime in a friendly "up 2 days, 3 hours" format
A load average above the number of CPU cores generally indicates the system is under contention.

Applies to

Ubuntu Debian Linux Mint RHEL CentOS / Rocky / AlmaLinux Fedora Arch Linux openSUSE Alpine Linux

Put it into practice

Learn this in context