Install My Top in Cent OS:-

Install following Packages:-
# wget http://pkgs.repoforge.org/perl-DBI/perl-DBI-1.615-1.el5.rfx.i386.rpm
# rpm -ivh perl-DBI-1.615-1.el5.rfx.i386.
# wget http://pkgs.repoforge.org/perl-TermReadKey/perl-TermReadKey-2.30-3.el5.rf.i386.rpm
# rpm -ivh perl-TermReadKey-2.30-3.el5.rf.i386.rpm
# wget http://pkgs.repoforge.org/mytop/mytop-1.4-2.el5.rf.noarch.rpm
# rpm -ivh mytop-1.4-2.el5.rf.noarch.rpm

after that modify this file :-
# vi /usr/bin/mytop
go through line no 151 like this-
“long|!” => \$config{long_nums},
and comment it.
Then run command :- mytop
#mytop

 

Leave a Reply