Files
cheatsheet-tldr/tldr/uptime
2025-01-19 00:18:40 +00:00

26 lines
555 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# uptime
> Tell how long the system has been running and other information.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uptime-invocation.html>.
- Print current time, uptime, number of logged-in users and other information:
`uptime`
- Show only the amount of time the system has been booted for:
`uptime --pretty`
- Print the date and time the system booted up at:
`uptime --since`
- Display version:
`uptime --version`