Skip to content

Commit

Permalink
Update sar.md (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 22, 2022
1 parent 7c99be4 commit a09742f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions command/sar.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ sar(选项)(参数)
-e:设置显示报告的结束时间;
-f:从指定文件提取报告;
-i:设状态信息刷新的间隔时间;
-n: 报告网络统计信息。
-P:报告每个CPU的状态;
-R:显示内存状态;
-u:显示CPU利用率;
Expand Down Expand Up @@ -65,4 +66,11 @@ kbmemfree与kbmemused字段分别显示内存的未使用与已使用空间,
sar -o temp 60 10
```

**显示保存在每日数据文件“sa16”中的内存和网络统计信息。**

```shell
sar -r -n DEV -f /var/log/sa/sa16
```



0 comments on commit a09742f

Please sign in to comment.