System Information

uptime

Shows how long the system has been running.

uptime prints current time, uptime duration, logged-in users, and load averages.

Syntax
uptime

Arguments explained

  • Options adjust output or behavior.
  • Arguments name the files, services, hosts, or values the command should work with.

Common examples

Show uptime
uptime

Displays uptime and load averages.

Pretty uptime
uptime -p

Prints a human-friendly uptime string on many systems.

uptime Command
FieldDetails
Commanduptime
CategorySystem Information
Primary useShows how long the system has been running.
Syntaxuptime