Shell scriptlet, show MySQL output related info from netstat output.
Perl script to monitor connections to local MySQL database
Perl script to chceck MySQL table 'fragmentation' (See: http://ops.kinja.com/free-up-space-on-mysql-servers-512264425)