Show system uptime and load averages
Build a paste-ready command, then review its compatibility and effects before running it.
read-onlyno known side effects Compatibility
Linux + macOSVerified for Linux, macOS using posix, bash, zsh syntax.
Operational knowledgereview due 2027-01-19
Requirementsuptimeuptime must be installed and available on PATH.
Version supportuptime Current supported releasesVerified for linux, macos using posix, bash, zsh syntax; consult compatibility notes for platform-specific differences.
Expected signals08:42:17 up 16 days, 4:12, 3 users, load average: 0.32, 0.41, 0.38Representative successful output; values vary with the selected target and system state.
Known errorsuptime: command not founduptime is missing or is not available on PATH.
VerifyuptimeThe output matches the expected target and exits without an error.Rollback noteNot required: this command is read-only and does not change system state.
Command breakdown
01uptimeUptime utilityShows how long the system has been running, current users, and load averages.
Example output
08:42:17 up 16 days, 4:12, 3 users, load average: 0.32, 0.41, 0.38
Illustrative output — exact values vary by system and data.
Official sources