Page MenuHomeSolus

Inital inclusion of atop
AbandonedPublic

Authored by Staudey on Mar 3 2019, 10:56 PM.

Details

Reviewers
None
Group Reviewers
Triage Team
Maniphest Tasks
T7558: Atop - ASCII full-screen performance monitor for Linux
Summary

Initial inclusion of atop
Fixes T7558

Test Plan

Installed and played around with it for a bit, disabled/enabled colours, watched the statistics, etc.

Diff Detail

Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Staudey created this revision.Mar 3 2019, 10:56 PM
Staudey requested review of this revision.Mar 3 2019, 10:56 PM
Harvey added a subscriber: Harvey.Mar 4 2019, 12:44 AM

nvidia gpu statistics requires nvidia-ml-py (press e you'll notice it complains about, atopgpud which in turn needs nvidia-ml-py, the service responsible for running atopgpud is atopgpu.service)

if you: lseopkg atop-*.eopkg
You'll notice /etc/cron.d/atop is created this is because:
cron is used to restart atop.service at midnight, which runs atop.daily which is a bash script that handles logs / stamping / rotation, I had assumed patching to use systemd.timers would be required.

network traffic requires netatop "Kernel module 'netatop' not active or no root privs; request ignored!"

If you %make systemdinstall DESTDIR="%installroot%" you'll be able to create /var/log/ without any errors.

https://github.com/Atoptool/atop/blob/master/README
I assume zlib and ncurses don't need to be explicitly stated but I'll mention it anyway, I had listed them when I was going to make this.

I had thrown a hissy fit at unmentioned dependencies and deleted my posts about this after a long frustrating day largely unrelated to this. This was a mistake as it could've helped here, my apologies.

Staudey abandoned this revision.EditedMar 7 2019, 9:21 PM

Thanks for the input, Harvey. I will abandon this revision though, since I don't use atop anyway, and can't find the time at the moment to get into it.
This was born out of a sleepy idea to just finish one more package inclusion before going to bed, which clearly isn't a good idea 😆
Hopefully someone else can look into this (or I'll pick it up again when I have more time on my hands).