pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit 53153891320fcef50eda97a92759db6d272d1501
parent 9773abd1a41034e3a6b467977ee8ccd946ff25d7
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu,  3 Feb 2022 17:06:23 +0000

advanced_top

Diffstat:
Aentry/advanced_top.md | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/entry/advanced_top.md b/entry/advanced_top.md @@ -0,0 +1,32 @@ +``` +yum install atop +dnf install atop +apt install atop +pacman -S atop +``` + +``` +atop +``` + +change interval (default 10 minutes) +``` +sed -i 's/^LOGINTERVAL=600/LOGINTERVAL=60/' /etc/sysconfig/atop +``` + +view log +``` +atop -r /var/log/atop/atop_$(date +%Y%m%d) +``` + +use `t` and `T` to go forward and back in intervals (`?` for keybindings) + +view all reports with +``` +atopsar -A +``` + +loadavg report +``` +atopsar -p +```