зеркало из
https://github.com/iharh/notes.git
synced 2025-11-02 06:36:06 +02:00
43 строки
1.1 KiB
Plaintext
43 строки
1.1 KiB
Plaintext
community/sysstat
|
|
a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)
|
|
|
|
2022
|
|
LearnLinuxTV - Linux Essentials - The sar Command 0:00 of 8:39
|
|
https://www.youtube.com/watch?v=D5fMGFZoFT8
|
|
2020
|
|
https://www.linuxtechi.com/generate-cpu-memory-io-report-sar-command/
|
|
https://www.computerhope.com/unix/usar.htm
|
|
|
|
need:
|
|
sar -b -r -u -o f.sar 1 600
|
|
sar -b -r -P ALL -o f.sar 1 600
|
|
|
|
sar
|
|
-b I/O and transfer rate statistics
|
|
[A_IO]
|
|
interesting colums: tps, rtps, wtps
|
|
|
|
-r [ALL] memory utilization statistics
|
|
[A_MEMORY]
|
|
interesting collection: kbmemused
|
|
|
|
-u [ALL] CPU utilization statistics
|
|
[A_CPU]
|
|
utilization = (user + nice + system)
|
|
interesting collection: %user, %usr, %nice
|
|
-d
|
|
Block devices statistics [A_DISK]
|
|
|
|
-P <core-num>
|
|
... cpu for given core
|
|
|
|
-S swap space utilization statistics
|
|
(kbswpfree kbswpused %swpused kbswpcad %swpcad)
|
|
-W swapping statistics
|
|
[A_SWAP]
|
|
|
|
-P <pid|ALL>
|
|
???
|
|
|
|
-o <file-to-save>
|