mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-12 08:35:24 +02:00
20 lines
489 B
Markdown
20 lines
489 B
Markdown
# 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 {{[-p|--pretty]}}`
|
|
|
|
- Print the date and time the system booted up at:
|
|
|
|
`uptime {{[-s|--since]}}`
|
|
|
|
- Display version:
|
|
|
|
`uptime {{[-V|--version]}}`
|