innotop
innotop
CentOS 6.4 Remiではなんなく入った。
そもそも何で入れたかというと、データのロード中にmysqldがハング状態になっているから
一体全体なにが起こってるんだろうと調査したさからだった。
[code lang=”bash” highlight=”1,13,57,70,83,86,91″]
[root@db1 log]# yum install perl-DBI perl-DBD-mysql
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* epel: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* remi: mirror.smartmedia.net.id
* updates: centosx4.centos.org
Setting up Install Process
Package perl-DBI-1.609-4.el6.x86_64 already installed and latest version
Package perl-DBD-MySQL-4.013-3.el6.x86_64 already installed and latest version
Nothing to do
[root@db1 innotop-1.8.0]# yum install perl-TermReadKey
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* epel: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* remi: mirror.smartmedia.net.id
* updates: centosx4.centos.org
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package perl-TermReadKey.x86_64 0:2.30-13.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
Package Arch Version Repository Size
====================================================================================================
Installing:
perl-TermReadKey x86_64 2.30-13.el6 base 31 k

Transaction Summary
====================================================================================================
Install 1 Package(s)

Total download size: 31 k
Installed size: 62 k
Is this ok [y/N]: Y
Downloading Packages:
perl-TermReadKey-2.30-13.el6.x86_64.rpm | 31 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : perl-TermReadKey-2.30-13.el6.x86_64 1/1
Verifying : perl-TermReadKey-2.30-13.el6.x86_64 1/1

Installed:
perl-TermReadKey.x86_64 0:2.30-13.el6

Complete!
[root@db1 innotop-1.8.0]#
[root@db1 log]# wget http://innotop.googlecode.com/files/innotop-1.8.0.tar.gz
–2013-07-31 14:04:26– http://innotop.googlecode.com/files/innotop-1.8.0.tar.gz
innotop.googlecode.com をDNSに問いあわせています… 173.194.72.82, 2404:6800:4008:c01::52
innotop.googlecode.com|173.194.72.82|:80 に接続しています… 接続しました。
HTTP による接続要求を送信しました、応答を待っています… 200 OK
長さ: 124604 (122K) [application/x-gzip]
innotop-1.8.0.tar.gz' に保存中

100%[==========================================================>] 124,604 239K/s 時間 0.5s

2013-07-31 14:04:27 (239 KB/s) - innotop-1.8.0.tar.gz’ へ保存完了 [124604/124604]

[root@db1 src]# tar xvzf innotop-1.8.0.tar.gz
innotop-1.8.0/
innotop-1.8.0/t/
innotop-1.8.0/t/InnoDBParser.t
innotop-1.8.0/t/innodb-status-001
innotop-1.8.0/innotop
innotop-1.8.0/INSTALL
innotop-1.8.0/Makefile.PL
innotop-1.8.0/MANIFEST
innotop-1.8.0/COPYING
innotop-1.8.0/Changelog
innotop-1.8.0/innotop.spec

[root@db1 src]# cd innotop-1.8.0
[root@db1 innotop-1.8.0]# ls
COPYING Changelog INSTALL MANIFEST Makefile.PL innotop innotop.spec t
[root@db1 innotop-1.8.0]# perl Makefile.PL
Checking if your kit is complete…
Looks good
Warning: prerequisite Term::ReadKey 2.1 not found.
Writing Makefile for innotop
[root@db1 innotop-1.8.0]# make install
cp innotop blib/script/innotop
/usr/bin/perl -MExtUtils::MY -e ‘MY->fixin(shift)’ — blib/script/innotop
Manifying blib/man1/innotop.1
Installing /usr/local/share/man/man1/innotop.1
Installing /usr/local/bin/innotop
Appending installation info to /usr/lib64/perl5/perllocal.pod

[/code]