Getting mytop to work on CentOS/Redhat

Screw all these AJAXified, buzz-wordified MySQL monitors. I’m old school. I use the fantastic mytop tool Jeremy Zawodny created 9 years ago.

Unfortunately it won’t run on CentOS. I got the error, ‘Error in option spec: “long|!”‘

Fortunately, its a simple fix. Edit the perl script,

nano /usr/bin/mytop

Find the line

“long|!” => \$config{long_nums},

and comment it out.


Author: Kieran Barnes

Kieran is a PHP developer with 15 years commercial experience. Specialist in WordPress, CakePHP, CubeCart and all things PHP.

Leave a Reply

Your email address will not be published. Required fields are marked *