You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
570 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# **uptime**
## 说明
**uptime命令** 能够打印系统总共运行了多长时间和系统的平均负载。uptime命令可以显示的信息显示依次为现在时间、系统已经运行了多长时间、目前有多少登陆用户、系统在过去的1分钟、5分钟和15分钟内的平均负载。
## 选项
```bash
-p, --pretty 以漂亮易读方式输出
-s, --since 系统从何时运行的
```
## 实例
```bash
# 使用uptime命令查看系统负载输出如下
15:31:30 up 127 days, 3:00, 1 user, load average: 0.00, 0.00, 0.00
```