forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# sar | ||
|
||
> Monitor performance of various Linux subsystems. | ||
- Report I/O and Transfer rate every 1 second: | ||
|
||
`sar -b 1` | ||
|
||
- Report 10 network statistics every 2 seconds for network devices: | ||
|
||
`sar -n DEV 2 10` | ||
|
||
- Report CPU utilization every 2 seconds: | ||
|
||
`sar -u ALL 2` | ||
|
||
- Report 20 memory utilization statistics every 1 second: | ||
|
||
`sar -r 1 20` | ||
|
||
- Report queue length and load averages: | ||
|
||
`sar -q 1 1` | ||
|
||
- Report paging statistics every 1 second: | ||
|
||
`sar -B 1` |