1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-26 08:35:28 +02:00
tldr/pages.zh/common/uptime.md

21 lines
450 B
Markdown
Raw Normal View History

# uptime
> 告知当前系统运行多长时间和其他信息。
> 更多信息:<https://www.gnu.org/software/coreutils/manual/html_node/uptime-invocation.html>.
- 打印当前时间,运行时间,登录用户数量和其他信息:
`uptime`
- 仅显示系统已启动的时间长度:
`uptime {{[-p|--pretty]}}`
- 打印系统启动的日期和时间:
`uptime {{[-s|--since]}}`
- 显示版本信息:
`uptime {{[-V|--version]}}`