From 1f7694753f7d9d9e18be69c699b1a22a378d4455 Mon Sep 17 00:00:00 2001 From: Muhammad Falak Reyaz Wani Date: Wed, 11 Oct 2017 16:12:11 +0530 Subject: [PATCH] sar: add page (#1532) --- pages/linux/sar.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/linux/sar.md diff --git a/pages/linux/sar.md b/pages/linux/sar.md new file mode 100644 index 00000000000000..f3d04ee0369682 --- /dev/null +++ b/pages/linux/sar.md @@ -0,0 +1,27 @@ +# sar + +> Monitor performance of various Linux subsystems. + +- 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}}`