My system is centos 7.4 with atop-2.3.0-8.el7.x86_64
.
I already have 3 days log in var/log/atop
, such as atop_20190312 atop_20190313 atop_20190314
.
I want to find out the peak period of CPU consumption in those 3 days.
Based on this post,I tried:
atopsar -r /var/log/atop/ -A -R 3 -c |head
but failed.
How to read several days atop log into one?