The main problem is that if you try to install mytop form youn install mytop it sais that you have no perl modules such as DBD::mysql and Term::ReadKey even if you go and install them trough cPanel >> Software >> Module Installers the yum dependency checker will say that you do not have them installed so:
# yum install mytop
you should get the list of needed perl modules
go to WHM and install all needed modules
Software >> Module Installers
and install all of needed modules
in my case it was DBD::mysql and Term::ReadKey
go to repoforge and get link for mytop
http://pkgs.repoforge.org/mytop/you should take care of your CentOS version to find out your centos version run in console
#cat /etc/redhat-release
For centos5,
#wget http://pkgs.repoforge.org/mytop/mytop-1.4-2.el5.rf.noarch.rpm
For centos6,
#wget http://pkgs.repoforge.org/mytop/mytop-1.4-2.el6.rf.noarch.rpm
install package with ignoring depencies.
#rpm -Uvh --nodeps mytop-1.4-2.el5.rf.noarch.rpm
If you try to run you probably will get error “Error in option spec: “long|!””
To fix this problem:
#chmod 755 /usr/bin/mytop
#vi /usr/bin/mytop
find line > “long|!” => \$config{long_nums},
and comment it with # sign > #”long|!” => \$config{long_nums},
then Run mytop
#mytop
--