Atop
Atop is an ASCII full-screen performance monitor for Linux that is capable of reporting the activity of all processes even if processes have finished during the interval and daily logging of system and process activity for long-term analysis. To collect information atop switches on the process accounting mechanism in the kernel[1].
- Crontab:
/etc/cron.d/atop
->/usr/share/atop/atop.daily
(INTERVAL=600
) - Data storage:
/var/log/atop
Usage
- View interactively today recorded activity:
atop -r
(presst
to see next interval) atopsar -A
[2]atopsar -O
Report top 3 processes consuming CPU
Activities
- Read LWN article about atop: https://lwn.net/Articles/387202/
See also
- sar
- acct package and lastcomm command (https://www.gnu.org/software/acct/)
- auditd
- Performance and Troubleshooting
top
,ntop
,htop
,atop
,iotop
,systemd-cgtop
,virt-top
,stress
,slabtop
,docker stats
,docker top
,docker container top
,docker-compose top
,nmon
,tload
,kubectl top pod PODNAME
,sar
,kubectl top
,glances
,vmstat, gpustat, asitop
Advertising: