tldr/pages/common/uptime.md

21 lines
471 B
Markdown
Raw Normal View History

2015-12-12 22:37:56 +00:00
# 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>.
2015-12-12 22:37:56 +00:00
- Print current time, uptime, number of logged-in users and other information:
2015-12-12 22:37:56 +00:00
`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`
- Show version information:
`uptime --version`