Mtop utility can be downloaded from http://sourceforge.net/projects/mtop/?source=typ_redirect.
Current version at this moment is: 0.6.6.
To install it the following system packages should be installed as dependencies: libncurses5-dev
# sudo apt-get install libncurses5-dev
Because of error during installation of depended Curses Perl library:
fatal error: ncurses.h: No such file or directory
The following Perl libraries required by mtop should be installed: Curses, Getopt::Long, Net::Domain, DBI and DBD::mysql
I’m istalling them using Perl CPAN module:
# perl -MCPAN -e shell # ... cpan[1]> install Curses cpan[2]> install Getopt::Long cpan[3]> install Net::Domain cpan[4]> install DBI cpan[5]> install DBD::mysql cpan[6]> quit
Mtop installation process:
# cd /root/install # tar xzf mtop-0.6.6.tar.gz # chown -Rf root:root /root/install/mtop-0.6.6/ # cd /root/install/mtop-0.6.6/ # perl Makefile.PL ... # make ... # make install Manifying 2 pod documents Installing /usr/local/bin/mtop Installing /usr/local/bin/mkill Installing /usr/local/bin/mtop Installing /usr/local/bin/mkill Installing /usr/local/share/perl/5.14/cpan2spec.pl Installing /usr/local/share/man/man1/mkill.1p Installing /usr/local/share/man/man1/mtop.1p Appending installation info to /usr/local//lib/perl/5.14/perllocal.pod
Now, mtop and mkill utilites are ready for use.