I’ve (yum) installed atop utility in centOS 6.8. But when I run any atop command (eg: atop -a) , it is giving the following error in commandline.
Malloc failed for current sysstats
However, I’m able to open the raw log file using the command “atop -r /var/log/atop/atop_20170302”. But, afer opening it, I can’t move back and forth in time when I press “t” and “shift+t”. It seems stuck at the same time instance.
whereis atop
atop: /usr/bin/atop /etc/atopwhile checking, ‘etc/atop/’ folder was empty
and also there was no atop service in ‘/etc/init.d/’
Answer
Just found the cause. The server was an openvz vm. atop is not compatible with the kernel of the container.
Thanks
Attribution
Source : Link , Question Author : More_pheus , Answer Author : More_pheus