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

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