dapurhosting.com Blog for Tech

September 25, 2011

Install MYTOP

Filed under: MySql,Server,Stat — dh @ 2:38 pm

Donwload:
http://jeremy.zawodny.com/mysql/mytop/

Install:

tar -zxvf mytop-*
cd mytop-*
perl Makefile.PL
make
make test
make install
cd ..
rm -rf mytop-*

Fix MyTop Error

#mytop
Error in option spec: "long|!"

pico /usr/bin/mytop
Run a search for long|! and comment out the following line:
“long|!” => \$config{long_nums},

Here's the exact error from DBI. It might help you debug:

Unknown database 'test'

mysql
create database test;

Install HTOP

Filed under: Server,Stat — dh @ 11:40 am

32bit
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
rpm -Uhv rpmforge-release*.rf.i386.rpm

64bit
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
rpm -Uhv rpmforge-release*.rf.x86_64.rpm

Now that the rpmforge repository is installed, you can install the htop package easily via yum.

yum install htop

Powered by WordPress