Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

33
linux/sar Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# sar
> Monitor performance of various Linux subsystems.
> More information: <https://manned.org/sar>.
- Report I/O and transfer rate issued to physical devices, one per second (press CTRL+C to quit):
`sar -b {{1}}`
- Report a total of 10 network device statistics, one per 2 seconds:
`sar -n DEV {{2}} {{10}}`
- Report CPU utilization, one per 2 seconds:
`sar -u ALL {{2}}`
- Report a total of 20 memory utilization statistics, one per second:
`sar -r ALL {{1}} {{20}}`
- Report the run queue length and load averages, one per second:
`sar -q {{1}}`
- Report paging statistics, one per 5 seconds:
`sar -B {{5}}`