2015-12-12 22:37:56 +00:00
|
|
|
# uptime
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Tell how long the system has been running and other information.
|
2021-03-30 14:33:29 +01:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uptime-invocation.html>.
|
2015-12-12 22:37:56 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print current time, uptime, number of logged-in users and other information:
|
2015-12-12 22:37:56 +00:00
|
|
|
|
|
|
|
`uptime`
|
2018-07-08 17:49:52 +01:00
|
|
|
|
|
|
|
- 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`
|