[LINUX] Mytop

14 05 2009

Mytop adalah perangkat yang digunakan untuk memonitor performa dari MySQL secara keseluruhan. Running under linux dengan perl sebagai bahasa yang di gunakan.

Link download nya : http://jeremy.zawodny.com/mysql/mytop/mytop-1.6.tar.gz

untar : tar xzvf mytop-1.6.tar.gz

masuk ke directory nya : cd mytop-16

Sebelum melakukan penginstalan, terlebih dahulu download patch untuk menghindari sintak error ini: Use of uninitialized value in substitution (s///) at /usr/bin/mytop line 958.

Link download patch : http://www.krisnanda.web.id/download/fix.455901.diff

taruh file fix.455901.diff satu folder dengan mytop-1.6

langkah selanjutnya gabungkan patch dengan file induk

sintaknya: patch -p0 < fix.455901.diff

Sudah selesai patching, tinggal install tools nya. Baca readme nya, atau ikuti perintah berikut ini:

tar -zxvf mytop-<version>.tar.gz
cd mytop-<version>
perl Makefile.PL
make
make test
make install

Setelah di install sesuai dengan readme nya. Konfigurasi file ~/.mytop menjadi berikut ini:

user=root
pass=
host=localhost
db=test
delay=5
port=3306
socket=
batchmode=0
header=1
color=1
idle=1

jika semua instalasi sudah sukses, jalankan program mytop.

Selamat mencoba….


Artikel yang berhubungan:
  1. Instalasi AJAX MyTop Lanjutan dari pembahasan Mytop sebelumnya, artikel kali ini akan membahas...
  2. Automating Database Startup and Shutdown on Linux When using RAC or ASM under Oracle 10g Release 2...
  3. Oracle Database 10g (10.1.0.2) Installation On Red Hat Enterprise Linux 4 (RHEL4) In this article I’ll describe the installation of Oracle Database...


Actions

Informations

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>