From ce61a27f1f5a147de49eb6ff5b91f68e7cfb9701 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 11 Apr 2023 09:33:09 +0200 Subject: [PATCH] Add note about atop --- notebook/Linux/Tools/atop.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 notebook/Linux/Tools/atop.md diff --git a/notebook/Linux/Tools/atop.md b/notebook/Linux/Tools/atop.md new file mode 100644 index 0000000..53fe218 --- /dev/null +++ b/notebook/Linux/Tools/atop.md @@ -0,0 +1,27 @@ +# Advanced System & Process Monitor + +```sh +atop 1 +``` +Monitor system resources with a 1 second interval. + +```sh +atop -w /path/to/log/file 60 +``` +Record performance stats to a given file once per minute. +> [!WARNING] +> Keep intervals reasonably long to prevent report files from growing too large over time. + +```sh +atop -r /path/to/file +``` +Open a previously recorded log to evaluate its contents. + +```sh +atopsar -A -b 8:00 -e 12:00 +``` +Print performance reports for a given time span. + +>[!HINT] +>Use the `z` key to pause atop and evaluate the current snapshot of system resoures. +>The update interval can be changed with the `i` key.