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-04-01 16:54:26 +01:00
|
|
|
> More information: <https://www.gnu.org/software/coreutils/uptime>.
|
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`
|
|
|
|
|
2024-01-30 04:55:24 +00:00
|
|
|
- Display version:
|
2018-07-08 17:49:52 +01:00
|
|
|
|
|
|
|
`uptime --version`
|