Windows
Linux
System & Storage
System Info
Windows uptime (Task Manager → Performance) equivalent in Linux
Displays how long the system has been running since the last boot, along with current CPU load averages.
Windows
→
uptime (Task Manager → Performance)
Linux equivalents
uptime
uptime
uptime
Overview
What this command does
Displays how long the system has been running since the last boot, along with current CPU load averages.
Migration tip: Load averages show CPU load over the last 1, 5, and 15 minutes. A load equal to your core count means fully utilised. Higher means processes are waiting for CPU time.
Practical tasks
Common use cases
Show how long the system has been running
Displays how long the system has been running since the last boot, along with current CPU load averages.
uptime
Uptime and load averages
uptime -p
Human readable: 'up 3 days, 2 hours'
uptime -s
Exact boot time
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
uptime
uptime -p
uptime -s
Walkthrough
Examples with explanations
# Windows: Task Manager → Performance → Up Time
uptime
14:32:00 up 5 days, 3:41, 2 users, load average: 0.52, 0.48, 0.41
uptime -p # up 5 days, 3 hours, 41 minutes
uptime -s # 2025-01-10 10:51:32
Reference
Common options and variations
| Command or option | Use |
|---|---|
uptime | Uptime and load averages |
uptime -p | Human readable: 'up 3 days, 2 hours' |
uptime -s | Exact boot time |
who -b | Last system boot time |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
This command is the same on Debian/Ubuntu, Fedora and Arch Linux when the relevant tool is installed.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | uptime |
Same command on this distribution. |
| Fedora | same command | uptime |
Same command on this distribution. |
| Arch | same command | uptime |
Same command on this distribution. |
Keep learning